[feat] 新增gRPC支持

This commit is contained in:
what 2023-05-22 15:38:25 +08:00
parent 5f1a570f09
commit f59a734a7e

View File

@ -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)
}