Allow plugins to create multiple apps
还没有人认领这个 Issue。
评估
调研方向
首先检查 plugin API 的接口范围,以及 plugin 当前如何创建 app 或绑定路径。比较 issue 中描述的多 app 和多实例方案,包括配置冲突和绑定冲突。完成的标准是:API 具有支持独立 app 身份的明确定义方式,且不会与冲突的 plugin 实例产生冲突,同时该行为有文档说明并由测试覆盖。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
I recently started using gotify-smtp to allow applications that don't natively support Gotify to still notify me. Sadly, everything sent to it enters in the "SMTP" app, making it hard to tell from which app the notification came.
Describe the solution you'd like
It would be nice if a plugin could generate multiple apps, so it could scale up like 1 SMTP plugin being useful for multiple SMTP senders.
Describe alternatives you've considered
The ability to run the same plugin multiple times would also make that possible, if the app name could be configured per plugin. There would however also need to be a way to prevent multiple instances of the same plugin from binding to the same path (in the SMTP plugin's case, port 1025), so this would seem more complex and harder to scale to me.
- 主要语言
- Go
- 星标
- 16
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
gotify/plugin-api 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
gotify/plugin-api#11 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 30/100
gotify/plugin-api#7 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
gotify/plugin-api#6 · 2 条评论 ·
-
new-api
难度 5/5 一周以上 新手友好度 25/100
gotify/plugin-api#3 · 4 条评论 · 1 个 reaction ·
查看 gotify/plugin-api 的全部 Issue
相似的 Issue
-
textual definition
难度 1/5 1 小时以内 新手友好度 90/100
geneontology/go-ontology#32653 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
-
needs design
难度 2/5 1-3 小时 新手友好度 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100