Documentation ¶
Index ¶
- func ChangeChlCtx(s session.ISession, chlCtx service.IChannelContext)
- func ChannelContextEquals(chlCtx service.IChannelContext, other service.IChannelContext) (ret bool)
- func ChannelContextToString(chlCtx service.IChannelContext) string
- func Close(chlCtx service.IChannelContext)
- func Conflict(chlCtx service.IChannelContext)
- func GetChlCtx(s session.ISession) service.IChannelContext
- func GetLngType(chlCtx service.IChannelContext) int8
- func HasUserInfo(chlCtx service.IChannelContext) bool
- func IsClose(chlCtx service.IChannelContext) (ret bool)
- func IsConflict(chlCtx service.IChannelContext) (ret bool)
- func IsLogout(chlCtx service.IChannelContext) (ret bool)
- func IsOfflie(chlCtx service.IChannelContext) (ret bool)
- func IsSystemKick(chlCtx service.IChannelContext) (ret bool)
- func Logout(chlCtx service.IChannelContext)
- func MsgID(request service.IServiceRequest) uint32
- func Offlie(chlCtx service.IChannelContext)
- func PutInUserInfo(chlCtx service.IChannelContext, uID int64, lngType int8)
- func SessionEquals(m session.ISession, n session.ISession) (ret bool)
- func SessionToString(s session.ISession) string
- func SetMsgID(request service.IServiceRequest, msgSeqID uint32)
- func SystemKick(chlCtx service.IChannelContext)
- func UID(chlCtx service.IChannelContext) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeChlCtx ¶
func ChangeChlCtx(s session.ISession, chlCtx service.IChannelContext)
func ChannelContextEquals ¶
func ChannelContextEquals(chlCtx service.IChannelContext, other service.IChannelContext) (ret bool)
func ChannelContextToString ¶
func ChannelContextToString(chlCtx service.IChannelContext) string
func Close ¶
func Close(chlCtx service.IChannelContext)
func GetLngType ¶
func GetLngType(chlCtx service.IChannelContext) int8
func HasUserInfo ¶
func HasUserInfo(chlCtx service.IChannelContext) bool
func IsClose ¶
func IsClose(chlCtx service.IChannelContext) (ret bool)
func IsConflict ¶
func IsConflict(chlCtx service.IChannelContext) (ret bool)
func IsLogout ¶
func IsLogout(chlCtx service.IChannelContext) (ret bool)
func IsOfflie ¶
func IsOfflie(chlCtx service.IChannelContext) (ret bool)
func IsSystemKick ¶
func IsSystemKick(chlCtx service.IChannelContext) (ret bool)
func Logout ¶
func Logout(chlCtx service.IChannelContext)
func MsgID ¶
func MsgID(request service.IServiceRequest) uint32
func Offlie ¶
func Offlie(chlCtx service.IChannelContext)
func PutInUserInfo ¶
func PutInUserInfo(chlCtx service.IChannelContext, uID int64, lngType int8)
放入用户信息代表后续Command事件中可以执行派发Event事件的行为了
func SessionToString ¶
func SetMsgID ¶
func SetMsgID(request service.IServiceRequest, msgSeqID uint32)
func SystemKick ¶
func SystemKick(chlCtx service.IChannelContext)
func UID ¶
func UID(chlCtx service.IChannelContext) int64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.