Documentation
¶
Index ¶
- func Dial(config Config, dialer Dialer) (net.Conn, error)
- type Config
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (n int, err error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetReconnWaitTimeout(d time.Duration)
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) TryReconn()
- func (c *Conn) WrapBaseForTest(wrap func(net.Conn) net.Conn)
- func (c *Conn) Write(b []byte) (n int, err error)
- type Dialer
- type Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) RemoteAddr ¶
func (*Conn) SetReconnWaitTimeout ¶
Click to show internal directories.
Click to hide internal directories.