Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GossProtocol ¶
type GossProtocol int
GossProtocol 传输协议号.
const ( CONN_AUTH GossProtocol = 1000 //连接授权. REPORT_NODE_INFO GossProtocol = 1001 //上报节点信息. MSG GossProtocol = 1002 //发送消息. ADD_NODE GossProtocol = 1003 //新增节点. REMOVE_NODE GossProtocol = 1004 //删除节点. SEND_FILE GossProtocol = 1005 //发送文件. READ_FILE GossProtocol = 1006 //读取文件. )
Click to show internal directories.
Click to hide internal directories.