Documentation ¶
Index ¶
- Variables
- type Addr
- type Conn
- func (c *Conn) AddRemoteConn(conn net.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) SetWriteDeadline(t time.Time) error
- func (c *Conn) WaitClose() <-chan struct{}
- func (c *Conn) Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClose = errors.New("Closed") ErrTimeout = errors.New("Timeout") )
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) AddRemoteConn ¶
func (*Conn) RemoteAddr ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.