Documentation ¶
Index ¶
- type RpcService
- func (*RpcService) RPCBroadcastRequest(request service.IServiceRequest, msg *rpc.RPCBroadcastRequest) error
- func (*RpcService) RPCCallRequest(request service.IServiceRequest, msg *rpc.RPCCallRequest) error
- func (*RpcService) RPCHeartbeatRequest(request service.IServiceRequest, msg *rpc.HeartbeatRequest) error
- func (*RpcService) RPCLoginRequest(request service.IServiceRequest, msg *rpc.LoginRequest) error
- func (*RpcService) RPCLogoutRequest(request service.IServiceRequest, msg *rpc.LogoutRequest) error
- func (*RpcService) RouteForRPCBroadcastRequest() (string, uint32, uint32)
- func (*RpcService) RouteForRPCCallRequest() (string, uint32, uint32)
- func (*RpcService) RouteForRPCHeartbeatRequest() (string, uint32, uint32)
- func (*RpcService) RouteForRPCLoginRequest() (string, uint32, uint32)
- func (*RpcService) RouteForRPCLogoutRequest() (string, uint32, uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcService ¶
type RpcService struct{}
func NewService ¶
func NewService() *RpcService
func (*RpcService) RPCBroadcastRequest ¶
func (*RpcService) RPCBroadcastRequest(request service.IServiceRequest, msg *rpc.RPCBroadcastRequest) error
func (*RpcService) RPCCallRequest ¶
func (*RpcService) RPCCallRequest(request service.IServiceRequest, msg *rpc.RPCCallRequest) error
func (*RpcService) RPCHeartbeatRequest ¶
func (*RpcService) RPCHeartbeatRequest(request service.IServiceRequest, msg *rpc.HeartbeatRequest) error
func (*RpcService) RPCLoginRequest ¶
func (*RpcService) RPCLoginRequest(request service.IServiceRequest, msg *rpc.LoginRequest) error
func (*RpcService) RPCLogoutRequest ¶
func (*RpcService) RPCLogoutRequest(request service.IServiceRequest, msg *rpc.LogoutRequest) error
func (*RpcService) RouteForRPCBroadcastRequest ¶
func (*RpcService) RouteForRPCBroadcastRequest() (string, uint32, uint32)
RouteForRPCBroadcastRequest RPC广播
func (*RpcService) RouteForRPCCallRequest ¶
func (*RpcService) RouteForRPCCallRequest() (string, uint32, uint32)
RouteForRPCCallRequest RPC调用
func (*RpcService) RouteForRPCHeartbeatRequest ¶
func (*RpcService) RouteForRPCHeartbeatRequest() (string, uint32, uint32)
RouteForRPCHeartbeatRequest 心跳
func (*RpcService) RouteForRPCLoginRequest ¶
func (*RpcService) RouteForRPCLoginRequest() (string, uint32, uint32)
RouteForRPCLoginRequest 登录
func (*RpcService) RouteForRPCLogoutRequest ¶
func (*RpcService) RouteForRPCLogoutRequest() (string, uint32, uint32)
RouteForRPCLogoutRequest 登出
Click to show internal directories.
Click to hide internal directories.