feat: plugin function is ready

This commit is contained in:
RockYang
2023-07-15 21:52:30 +08:00
parent d014d418e9
commit d8ff5987dd
9 changed files with 200 additions and 46 deletions

View File

@@ -0,0 +1,11 @@
package function
type Function interface {
Invoke(...interface{}) (string, error)
Name() string
}
type resVo struct {
Code int `json:"code"`
Msg string `json:"msg"`
}