Documentation
¶
Index ¶
- type Addr
- type Mux
- type MuxConn
- func (conn *MuxConn) Close() (err error)
- func (conn *MuxConn) LocalAddr() (addr net.Addr)
- func (conn *MuxConn) NotifyRead()
- func (conn *MuxConn) Pause()
- func (conn *MuxConn) Read(b []byte) (n int, err error)
- func (conn *MuxConn) RemoteAddr() (addr net.Addr)
- func (conn *MuxConn) Reply()
- func (conn *MuxConn) SetDeadline(t time.Time) (err error)
- func (conn *MuxConn) SetReadDeadline(t time.Time) (err error)
- func (conn *MuxConn) SetWriteDeadline(t time.Time) (err error)
- func (conn *MuxConn) Write(b []byte) (n int, err error)
- func (conn *MuxConn) WriteBuffers(bufs [][]byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mux ¶
type Mux struct {
net.Conn // underlying connection, must be reliable
// contains filtered or unexported fields
}
func (*Mux) NumOfConns ¶
type MuxConn ¶
type MuxConn struct {
// contains filtered or unexported fields
}
func (*MuxConn) NotifyRead ¶
func (conn *MuxConn) NotifyRead()
func (*MuxConn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.