diff --git a/service.go b/service.go index a7e19db..6aa1dc5 100644 --- a/service.go +++ b/service.go @@ -4,6 +4,8 @@ type Service interface { LoadGoPlugin(file string) error RegControllers(items map[string]Controller) error RegListens(items map[string]ResListener) error + RegGRpControllers(items map[string]GRpController) error GetResListener(code string) (ResListener, bool) GetAppController(code string) (Controller, bool) + GetGRpController(code string) (GRpController, bool) }