[feat] 添加 Service.RegControllers Service.RegListens 方法
This commit is contained in:
parent
e5bc08a4f5
commit
2c1a864de4
@ -2,6 +2,8 @@ package contracts
|
||||
|
||||
type Service interface {
|
||||
LoadGoPlugin(file string) error
|
||||
RegControllers(items map[string]Controller) error
|
||||
RegListens(items map[string]ResListener) error
|
||||
GetResListener(code string) (ResListener, bool)
|
||||
GetAppController(code string) (Controller, bool)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user