package
0.0.0-20180813082954-68bdf18d1011
Repository: https://github.com/leechanx/sona.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
https://www.cnblogs.com/concurrency/p/4043271.html创建TCP服务 参数:服务名,IP,PORT,最大连接个数.
创建会话.
创建订阅列表.
收到HeartBeatReqId的回调函数:回复心跳.
收到HeartbeatRspId的回调函数:记录时间.

# Constants

心跳周期,30s.
失联阈值,150s.

# Variables

No description provided by the author
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
被订阅列表结构.

# Type aliases

遇到某消息ID的回调函数类型.
消息ID与消息PB的映射函数类型,根据消息ID给出对应的PB包.