Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewConfigServer ¶
func NewConfigServer(config gira.GrpcConfig) (*Server, error)
func (*Server) RegisterService ¶
func (self *Server) RegisterService(desc *grpc.ServiceDesc, impl interface{})
实现接口 grpc.ServiceRegistrar 将impl保存起来,转发的时候要用到
Click to show internal directories.
Click to hide internal directories.