# Functions
GenerateID 返回一个随机生成的 64 字节 ID。这个函数进程安全 这个方法大概花费 13.29 ns, 不产出任何内存垃圾.
VerifyAddress 验证地址是否正确.
WithClientContext 特定参数配置.
WithMaxConnNum 最大连接数配置.
WithReconnect 重连配置.
WithServerContext 特定参数配置.
# Constants
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
# Variables
DefaultClientOptions 默认 Client 选项.
DefaultServerOptions 默认 Server 选项.
ErrInvalidAddress 不合法的地址输入.
ErrInvalidAgent 不合法的 Agent.
ErrInvalidCodec 不合法的 Codec.
ErrInvalidGetAgentFunc 不合法的新建 agent 函数.
ErrPacketSplit 网络包传输不完全.
ErrTooLessLength 写入缓冲长度太低.
ErrTooMoreLength 写入缓冲长度太高.
# Type aliases
ClientOption 客户端配置项.
GetAgent 获取代理.
ID 标准数字唯一键.
ServerOption 服务器配置项.