Documentation ¶
Index ¶
- type StdConn
- func (s StdConn) Close() (err error)
- func (s StdConn) LocalAddr() (addr net.Addr)
- func (s StdConn) Read(b []byte) (n int, err error)
- func (s StdConn) RemoteAddr() (addr net.Addr)
- func (s StdConn) SetDeadline(t time.Time) (err error)
- func (s StdConn) SetReadDeadline(t time.Time) (err error)
- func (s StdConn) SetWriteDeadline(t time.Time) (err error)
- func (s StdConn) Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StdConn ¶
type StdConn struct { io.ReadCloser io.WriteCloser Quit chan struct{} }
func New ¶
func New(in io.ReadCloser, out io.WriteCloser, quit chan struct{}) (s StdConn)
func (StdConn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.