Documentation ¶
Index ¶
- type GRPCServer
- func (g *GRPCServer) GetPort() uint32
- func (g *GRPCServer) GetProtocol() string
- func (g *GRPCServer) Initialize(ctx context.Context, option map[string]interface{}, ...) error
- func (g *GRPCServer) Restart(option map[string]interface{}, api map[string]apiserver.APIConfig, ...) error
- func (g *GRPCServer) Run(errCh chan error)
- func (g *GRPCServer) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCServer ¶
type GRPCServer struct { grpcserver.BaseGrpcServer // contains filtered or unexported fields }
GRPCServer GRPC API服务器
func (*GRPCServer) Initialize ¶
func (g *GRPCServer) Initialize(ctx context.Context, option map[string]interface{}, apiConf map[string]apiserver.APIConfig) error
Initialize 初始化GRPC API服务器
Click to show internal directories.
Click to hide internal directories.