[feat] 添加 job 的服务注册
This commit is contained in:
parent
310ef2d2c8
commit
73c755524a
@ -5,7 +5,9 @@ type Service interface {
|
||||
RegControllers(items map[string]Controller) error
|
||||
RegListens(items map[string]ResListener) error
|
||||
RegGRpControllers(items map[string]GRpController) error
|
||||
RegJobControllers(items map[string]JobController) error
|
||||
GetResListener(code string) (ResListener, bool)
|
||||
GetAppController(code string) (Controller, bool)
|
||||
GetGRpController(code string) (GRpController, bool)
|
||||
GetJobController(code string) (JobController, bool)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user