Categorygithub.com/go-tron/socket
modulepackage
1.4.9
Repository: https://github.com/go-tron/socket.git
Documentation: pkg.go.dev

# README

##当前socket.io版本仅兼容socket.io-client V2

##消息体Message说明 ###Id: 消息ID 非空时校验唯一性

为空时根据服务端配置自动生成(要求唯一)

*为空时且服务端也未配置ID生成器报错

###QOM: 消息质量

QOM派发时暂存重试发送持久化存储说明
0NNN只发送一次需客户端在线 消息不保存
1YNN只发送一次 消息保存 发送即删除
2YYN按重试设置不断尝试发送 消息保存 发送结果确认(送达/过期/发送次数超限)时删除
3YYY按重试设置不断尝试发送 消息保存 不删除

###Body: 消息内容 任意类型

###ExpireAt: 消息过期时间 可以为空 非空时:

当QOM小于3时 按时间自动删除消息,即使尚未发送过

当QOM等于3时 不删除消息 标记失败原因为已过期并不会再发送

# Packages

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

# Functions

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
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
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
No description provided by the author
No description provided by the author
No description provided by the author

# 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

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
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
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
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

# Interfaces

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

# Type aliases

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