Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVER_NAME = "MSG_BROKER_SVC" SERVICE_BROADCAST_RECV = "BROADCAST_RECV" SERVICE_REGISTER_SESSION = "REGISTER_SESSION" SERVICE_KICKOUT_DUPLICATE = "KICKOUT_DUPLICATE" SERVICE_UNREGISTER_SESSION = "UNREGISTER_SESSION" )
View Source
const ( SendMsg = 1 Kickout = 2 Heartbeat = 3 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BroadcastArgs ¶
type BroadcastMsgWarp ¶
type BroadcastMsgWarp struct { Action Action PreId string MetaData model.Msg ToSessions []RecvSession }
type BroadcastReply ¶
type BroadcastReply struct { }
type RecvSession ¶
type RegisterSessionInfo ¶
type RegisterSessionReply ¶
type RegisterSessionReply struct {
NeedKeep bool
}
Click to show internal directories.
Click to hide internal directories.