Documentation ¶
Index ¶
- type BuffConn
- func (bc *BuffConn) Close() error
- func (bc *BuffConn) LocalAddr() net.Addr
- func (bc *BuffConn) Read(p []byte) (int, error)
- func (bc *BuffConn) RemoteAddr() net.Addr
- func (bc *BuffConn) SetDeadline(t time.Time) error
- func (bc *BuffConn) SetReadDeadline(t time.Time) error
- func (bc *BuffConn) SetWriteDeadline(t time.Time) error
- func (bc *BuffConn) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuffConn ¶
type BuffConn struct {
// contains filtered or unexported fields
}
BuffConn is a net.Conn that implements read buffering to save on syscalls.
func (*BuffConn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.