Documentation ¶
Index ¶
- type Conn
- func (c *Conn) Close()
- func (c *Conn) GetLocalAddr() (addr string)
- func (c *Conn) GetRemoteAddr() (addr string)
- func (c *Conn) IsClosed() (closeFlag bool)
- func (c *Conn) ReadLine() (buff string, err error)
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) Write(content string) (err error)
- type Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { TcpConn net.Conn Reader *bufio.Reader // contains filtered or unexported fields }
wrap for TCPConn
func (*Conn) GetLocalAddr ¶
func (*Conn) GetRemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.