[feat] 定时任务支持

This commit is contained in:
what 2023-10-30 15:47:36 +08:00
parent 5be804d2d2
commit 252fa41b65

View File

@ -6,8 +6,10 @@ type Service interface {
RegListens(items map[string]ResListener) error
RegGRpcs(items map[string]GRpc) error
RegJobs(items map[string]Job) error
RegCrons(items map[string]Cron) error
GetResListener(code string) (ResListener, bool)
GetAppController(code string) (Controller, bool)
GetAppGRpc(code string) (GRpc, bool)
GetAppJob(code string) (Job, bool)
GetCron(code string) (Cron, bool)
}