Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferedConn ¶
func NewBufferedConn ¶
func NewBufferedConn(c net.Conn) *BufferedConn
func (*BufferedConn) Buffered ¶
func (c *BufferedConn) Buffered() int
func (*BufferedConn) Peek ¶
func (c *BufferedConn) Peek(n int) ([]byte, error)
Peek returns the next n bytes without advancing the reader.
func (*BufferedConn) ReadByte ¶
func (c *BufferedConn) ReadByte() (byte, error)
func (*BufferedConn) Reader ¶
func (c *BufferedConn) Reader() *bufio.Reader
Reader returns the internal bufio.Reader.
func (*BufferedConn) UnreadByte ¶
func (c *BufferedConn) UnreadByte() error
type MixedListener ¶
func NewMixedProxy ¶
func NewMixedProxy(addr string) (*MixedListener, error)
func (*MixedListener) Address ¶
func (l *MixedListener) Address() string
func (*MixedListener) Close ¶
func (l *MixedListener) Close()
Click to show internal directories.
Click to hide internal directories.