[feat] 添加 job 的服务注册

This commit is contained in:
what 2023-06-05 15:32:34 +08:00
parent 310ef2d2c8
commit 73c755524a

View File

@ -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)
}