From 73c755524ab1a8d79aaa46ac350c20f2451de02f Mon Sep 17 00:00:00 2001 From: what Date: Mon, 5 Jun 2023 15:32:34 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E6=B7=BB=E5=8A=A0=20job=20=E7=9A=84?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=B3=A8=E5=86=8C?= 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 6aa1dc5..249c9c8 100644 --- a/service.go +++ b/service.go @@ -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) }