Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UDPMtu = 1200
UDPMtu mtu of udp
Functions ¶
This section is empty.
Types ¶
type PoolMgr ¶
type PoolMgr struct {
// contains filtered or unexported fields
}
PoolMgr pool manager
func GetDefaultMgr ¶
func GetDefaultMgr() *PoolMgr
GetDefaultMgr create default manager,support tcp,udp,ws,s2s
func (*PoolMgr) Dial ¶
Dial dial,the address must be with scheme,such as:"tcp://user_id@127.0.0.1:1111"
type S2SPool ¶
type S2SPool struct {
// contains filtered or unexported fields
}
S2SPool udp server to udp server.
type TCPPool ¶
type TCPPool struct {
// contains filtered or unexported fields
}
TCPPool default connection,such as:tcp,unix
type UDPPool ¶
type UDPPool struct {
// contains filtered or unexported fields
}
UDPPool connection over udp,it could lose message.
Click to show internal directories.
Click to hide internal directories.