Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TcpClinetAcceptCallBindingMethod string
Clinet tcp接受回调方法
View Source
var TcpClinetAcceptCallBindingStruct string
Clinet tcp接受回调注入体
View Source
var TcpClinetMsgNum int
Clinet 发送消息队列
View Source
var TcpClinetPort int
Clinet 端口
View Source
var TcpServerAcceptCallBindingMethod string
Server tcp接受回调方法
View Source
var TcpServerAcceptCallBindingPoolNum int
Server 回调线程数量
View Source
var TcpServerAcceptCallBindingStruct string
Server tcp接受回调注入体
View Source
var TcpServerPort int
Server 端口
Functions ¶
func SendMsgByConn ¶
Types ¶
type OctopusClinetTcp ¶
type OctopusServerTcp ¶
type OctopusServerTcp struct { TcpServerPort int // contains filtered or unexported fields }
type OctopusTcp ¶
type OctopusTcp struct { OctopusClinetTcp *OctopusClinetTcp OctopusServerTcp *OctopusServerTcp }
type ServerTcpCallJob ¶
Tcp接受消息回调方法
type TcpStart ¶
type TcpStart struct { ServerPort int `autoInjectCfg:"octopus.tcp.server.port"` ServerBindingPoolNum int `autoInjectCfg:"octopus.tcp.server.binding.pool.num"` ServerBindingMethod string `autoInjectCfg:"octopus.tcp.server.binding.method"` ServerBindingStruct string `autoInjectCfg:"octopus.tcp.server.binding.struct"` ClinetPort int `autoInjectCfg:"octopus.tcp.clinet.port"` ClinetMsgNum int `autoInjectCfg:"octopus.tcp.clinet.msg.num"` ClinetBindingMethod string `autoInjectCfg:"octopus.tcp.clinet.binding.method"` ClinetBindingStruct string `autoInjectCfg:"octopus.tcp.clinet.binding.struct"` }
Tcp启动方法
Click to show internal directories.
Click to hide internal directories.