Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Arg ¶
type Arg struct { Msg []byte // 消息 Host string // 主机地址:端口 Tunnel *tunnel.Tunnel // 数据隧道 TheType int // 业务类型 Delegates []func() bool // 委托队列 }
Arg 网络业务会用到的参数集
type ResultOfNetOp ¶
type ResultOfNetOp int
ResultOfNetOp 网络操作的结果
const ( FAILED ResultOfNetOp = iota SUCCESS )
网络操作是否成功
Click to show internal directories.
Click to hide internal directories.