Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNetwork ¶
ParseNetwork is util func used to parse network
Types ¶
type PushMsgArg ¶
PushMsgArg is struct of push msg arg
type Server ¶
type Server int
Server is struct of Comet RPC Server
func (*Server) PushRoomMsg ¶
func (rpc *Server) PushRoomMsg(ctx context.Context, args *comet.RoomMsgArg, SuccessReply *SuccessReply) (err error)
PushRoomMsg is func used tp push room msg
func (*Server) PushSingleMsg ¶
func (rpc *Server) PushSingleMsg(ctx context.Context, args *PushMsgArg, SuccessReply *SuccessReply) (err error)
PushSingleMsg is rpc func used to push single msg
type SuccessReply ¶
SuccessReply if struct of success reply
Click to show internal directories.
Click to hide internal directories.