Documentation ¶ Index ¶ type Conn func New(conn net.Conn) *Conn func (c *Conn) Read(p []byte) (n int, err error) func (c *Conn) ReaderReplaceable() bool func (c *Conn) SetReadDeadline(t time.Time) error func (c *Conn) ToReader() io.Reader func (c *Conn) ToWriter() io.Writer func (c *Conn) WriterReplaceable() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Conn ¶ type Conn struct { net.Conn // contains filtered or unexported fields } func New ¶ func New(conn net.Conn) *Conn func (*Conn) Read ¶ func (c *Conn) Read(p []byte) (n int, err error) func (*Conn) ReaderReplaceable ¶ func (c *Conn) ReaderReplaceable() bool func (*Conn) SetReadDeadline ¶ func (c *Conn) SetReadDeadline(t time.Time) error func (*Conn) ToReader ¶ func (c *Conn) ToReader() io.Reader func (*Conn) ToWriter ¶ func (c *Conn) ToWriter() io.Writer func (*Conn) WriterReplaceable ¶ func (c *Conn) WriterReplaceable() bool Source Files ¶ View all Source files conn.go pipe.go Click to show internal directories. Click to hide internal directories.