package
1.0.2
Repository: https://github.com/ravior/gserver.git
Documentation: pkg.go.dev

# Functions

NewConnManager 创建新的链接管理器.
NewMsg 创建一个Message对象.
No description provided by the author
No description provided by the author

# Constants

HeartBeatTime 心跳时长 单位:秒.
No description provided by the author
最大响应时长,单位ms.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

ConnManager 链接管理器.
Group 路由组.
No description provided by the author
MsgHandler 消息处理器模块,msgHandler会有多个worker回来同时处理消息,conn发送的消息通过connId取模落入到某一个worker处理.
Request 请求抽象.
No description provided by the author
Router 路由器.

# Interfaces

No description provided by the author
IConnection 定义连接接口.
ISocket Socket抽象接口,可以是Sever端/Client端.

# Type aliases

ConnCallback 连接回调.
No description provided by the author
ProtocolType 协议类型.