Documentation
¶
Overview ¶
*
- Created by lock
- Date: 2019-10-06
- Time: 22:46
Index ¶
- Variables
- func InitLogicRpcClient()
- type RpcLogic
- func (rpc *RpcLogic) CheckAuth(req *proto.CheckAuthRequest) (code int, userId int, userName string)
- func (rpc *RpcLogic) Count(req *proto.Send) (code int, msg string)
- func (rpc *RpcLogic) GetRoomInfo(req *proto.Send) (code int, msg string)
- func (rpc *RpcLogic) GetUserNameByUserId(req *proto.GetUserInfoRequest) (code int, userName string)
- func (rpc *RpcLogic) Login(req *proto.LoginRequest) (code int, authToken string, msg string)
- func (rpc *RpcLogic) Logout(req *proto.LogoutRequest) (code int)
- func (rpc *RpcLogic) Push(req *proto.Send) (code int, msg string)
- func (rpc *RpcLogic) PushRoom(req *proto.Send) (code int, msg string)
- func (rpc *RpcLogic) Register(req *proto.RegisterRequest) (code int, authToken string, msg string)
Constants ¶
This section is empty.
Variables ¶
View Source
var LogicRpcClient client.XClient
Functions ¶
func InitLogicRpcClient ¶
func InitLogicRpcClient()
Types ¶
Click to show internal directories.
Click to hide internal directories.