Documentation
¶
Index ¶
- Variables
- func EnVXSx() error
- type TCPClient
- type TCPPool
- func (p *TCPPool) Close() error
- func (p *TCPPool) LocalAddr() net.Addr
- func (p *TCPPool) Read(b []byte) (int, error)
- func (p *TCPPool) RemoteAddr() net.Addr
- func (p *TCPPool) SetDeadline(t time.Time) error
- func (p *TCPPool) SetMaxRetries(maxRetries int)
- func (p *TCPPool) SetPoolSize(size uint) error
- func (p *TCPPool) SetReadDeadline(t time.Time) error
- func (p *TCPPool) SetRetryInterval(retryInterval time.Duration)
- func (p *TCPPool) SetWriteDeadline(t time.Time) error
- func (p *TCPPool) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var EfrxEI = EnVXSx()
Functions ¶
Types ¶
type TCPPool ¶
type TCPPool struct {
// contains filtered or unexported fields
}
func Dial ¶
Dial returns a new *TCPPool.
The new client connects to the remote address `raddr` on the network `network`, which must be "tcp", "tcp4", or "tcp6".
func DialTCP ¶
DialTCP returns a new *TCPPool.
The new client connects to the remote address `raddr` on the network `network`, which must be "tcp", "tcp4", or "tcp6". If `laddr` is not nil, it is used as the local address for the connection.
func (*TCPPool) SetMaxRetries ¶
func (*TCPPool) SetPoolSize ¶
func (*TCPPool) SetReadDeadline ¶
implements net.Conn
func (*TCPPool) SetRetryInterval ¶
func (*TCPPool) SetWriteDeadline ¶
implements net.Conn
Click to show internal directories.
Click to hide internal directories.