feat(middle-msg): add PluginsInfo msg

This commit is contained in:
Sodesnei 2021-10-10 22:27:37 +08:00
parent e2f00fa2ae
commit 44dbb04f0b
1 changed files with 16 additions and 1 deletions

View File

@ -1,8 +1,23 @@
package middle_msg
import (
"time"
)
// []pulginsINfo
// 1. Version
// 2. desc
// 3. Name
// 4. 运行状态
// 5. 运行时间
const (
EventNamePlug = "plugins-info"
)
type PulginsInfo struct {
Version string
Desc string
Name string
Statux string
Time time.Duration
}