Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientManager ¶
type ClientManager struct {
// contains filtered or unexported fields
}
func NewClientManager ¶
func NewClientManager() *ClientManager
func (*ClientManager) AddMService ¶
func (cm *ClientManager) AddMService(s model.Service) error
func (*ClientManager) GetRPCClientByInstanceId ¶
func (cm *ClientManager) GetRPCClientByInstanceId(id uint32) *ServiceRPCClient
func (*ClientManager) GetRPCClientByName ¶
func (cm *ClientManager) GetRPCClientByName(name string) *ServiceRPCClient
type ServiceRPCClient ¶
type ServiceRPCClient struct { Conn *grpc.ClientConn Client *message.GatewayProtocolClient ServiceName string ServiceInstanceId uint32 RequestMessage proto.Message ResponseMessage proto.Message }
Click to show internal directories.
Click to hide internal directories.