package
1.1.1
Repository: https://github.com/weblazy/core.git
Documentation: pkg.go.dev

# Functions

Get bind uid with session.
Connect to master.
Get session from PreCtx.
Get online users in the group.
Determine if a uid is online.
Join a group.
No description provided by the author
Leave group.
No description provided by the author
No description provided by the author
Heartbeat.
Send message to group.
No description provided by the author
Send message to a uid.
Start master node.
NewPeer creates a new peer.
Update clients num.

# Constants

client_id绑定到uid.
发给gateway的立即销毁用户连接.
GatewayClient连接gateway事件.
获取在线状态.
获取组在线连接数.
根据uid获取绑定的clientid.
获取组成员.
获取在线的群组ID.
根据client_id获取session.
判断是否在线.
加入组.
发给gateway的踢出用户 1、如果有待发消息,将在发送完后立即销毁用户连接 2、如果无待发消息,将立即销毁用户连接.
离开组.
发给worker上的关闭链接事件.
发给worker,gateway有一个新的连接.
发给worker的,客户端有消息.
心跳.
按照条件查找.
发给gateway的向所有用户发送数据.
向组成员发消息.
发给gateway的向单个用户发送数据.
向uid发送数据.
解绑.
取消分组.
发给gateway,通知用户session更新.
worker连接gateway事件.
No description provided by the author
更新Node节点列表.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author