TheTNB / panel

耗子面板 - 轻量、现代化的服务器运维管理面板
GNU Affero General Public License v3.0
935 stars 97 forks source link

✨ [Feature] 分离插件功能 #114

Closed stevessr closed 2 months ago

stevessr commented 3 months ago

在提问之前 (Before Asking)

描述功能 (Describe Feature)

将plugins部分分离为单独的golang库,便于添加插件

工作流程 (WorkFlow)

  1. 分离plugins
  2. 添加plugins贡献标准
  3. ...

还有别的吗 (Anything Else)

No response

github-actions[bot] commented 3 months ago

Hi @stevessr 👋

我们认为您的建议非常有价值!欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献! We think your suggestion is very valuable! Welcome to submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!

aoligei

devhaozi commented 3 months ago

可供参考的实现 https://github.com/FloatTech/ZeroBot-Plugin

devhaozi commented 2 months ago

尝试做了一下,发现很不好实现且很不方便管理,暂时不考虑了,等 go 官方把插件系统修完善了再说。 (不过会尽可能优化目前的实现,尽量方便添加新插件)