mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-22 09:45:27 -04:00
d1217bac9b
* feat: add prometheus metric * feat: add switch PrometheusEnabled * chore: change metric collect position
9 lines
188 B
Go
9 lines
188 B
Go
package parser
|
|
|
|
func MarshalPluginID(author string, name string, version string) string {
|
|
if author == "" {
|
|
return name + ":" + version
|
|
}
|
|
return author + "/" + name + ":" + version
|
|
}
|