diff --git a/service.go b/service.go index 57dc6ab..03666e3 100644 --- a/service.go +++ b/service.go @@ -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) }