From 252fa41b65c33e8921ddd4bf0604cddd3344b903 Mon Sep 17 00:00:00 2001 From: what Date: Mon, 30 Oct 2023 15:47:36 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service.go | 2 ++ 1 file changed, 2 insertions(+) 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) }