[feat] 新增gRPC支持
This commit is contained in:
parent
5f1a570f09
commit
f59a734a7e
@ -4,6 +4,8 @@ type Service interface {
|
|||||||
LoadGoPlugin(file string) error
|
LoadGoPlugin(file string) error
|
||||||
RegControllers(items map[string]Controller) error
|
RegControllers(items map[string]Controller) error
|
||||||
RegListens(items map[string]ResListener) error
|
RegListens(items map[string]ResListener) error
|
||||||
|
RegGRpControllers(items map[string]GRpController) error
|
||||||
GetResListener(code string) (ResListener, bool)
|
GetResListener(code string) (ResListener, bool)
|
||||||
GetAppController(code string) (Controller, bool)
|
GetAppController(code string) (Controller, bool)
|
||||||
|
GetGRpController(code string) (GRpController, bool)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user