Documentation ¶
Index ¶
- func NewDialer() network.Dialer
- func NewTransporter(options *config.Options) network.Transporter
- type Conn
- func (c *Conn) Flush() error
- func (c *Conn) HandleSpecificError(err error, rip string) (needIgnore bool)
- func (c *Conn) Len() int
- func (c *Conn) Malloc(n int) (buf []byte, err error)
- func (c *Conn) Peek(n int) (b []byte, err error)
- func (c *Conn) ReadBinary(n int) (b []byte, err error)
- func (c *Conn) ReadByte() (b byte, err error)
- func (c *Conn) Release() error
- func (c *Conn) Skip(n int) error
- func (c *Conn) WriteBinary(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransporter ¶
func NewTransporter(options *config.Options) network.Transporter
For transporter switch
Types ¶
type Conn ¶
func (*Conn) HandleSpecificError ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.