Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloserFunc ¶
type CloserFunc func()
type ControllerRegister ¶
type ControllerRegister interface {
Register(grpcServer grpc.ServiceRegistrar)
}
func NewControllerRegister ¶
func NewControllerRegister(controller porker.PorkerServiceServer) ControllerRegister
func NewHealthRegister ¶
func NewHealthRegister(memDBCli gateways.MemDBClient) ControllerRegister
type ControllerRegisters ¶
type ControllerRegisters []ControllerRegister
type GRPCServer ¶
func NewGRPCServer ¶
func NewGRPCServer( logger *zap.Logger, port string, isDevelop bool, controllerRegisters ControllerRegisters, initFunction InitFunc, closerFunction CloserFunc, ) GRPCServer
Click to show internal directories.
Click to hide internal directories.