[feat] 添加 Service.RegControllers Service.RegListens 方法
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user