Documentation
¶
Index ¶
- type UDPConn
- func (c *UDPConn) Close() error
- func (c *UDPConn) Read(buf base.Buffer) (int, error)
- func (c *UDPConn) ReadFrom(buf base.Buffer) (n int, a net.Addr, e error)
- func (c *UDPConn) SetReadTimeout(timeout int)
- func (c *UDPConn) SetTimeout(timeout int)
- func (c *UDPConn) SetWriteTimeout(timeout int)
- func (c *UDPConn) Write(buf base.Buffer) (int, error)
- func (c *UDPConn) WriteTo(buf base.Buffer, addr net.Addr) (n int, e error)
- type UDPFactory
- func (f *UDPFactory) Connect(addr string, args ...int) (*UDPConn, error)
- func (f *UDPFactory) Connect4(addr string, args ...int) (*UDPConn, error)
- func (f *UDPFactory) Connect6(addr string, args ...int) (*UDPConn, error)
- func (f *UDPFactory) Listen(addr string, args ...int) (*UDPConn, error)
- func (f *UDPFactory) Listen4(addr string, args ...int) (*UDPConn, error)
- func (f *UDPFactory) Listen6(addr string, args ...int) (*UDPConn, error)
- func (f *UDPFactory) Resolve(addr string, args ...int) (net.Addr, error)
- func (f *UDPFactory) Resolve4(addr string, args ...int) (net.Addr, error)
- func (f *UDPFactory) Resolve6(addr string, args ...int) (net.Addr, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UDPConn ¶
type UDPConn struct {
// contains filtered or unexported fields
}
func (*UDPConn) SetReadTimeout ¶
func (*UDPConn) SetTimeout ¶
func (*UDPConn) SetWriteTimeout ¶
type UDPFactory ¶
type UDPFactory struct {
// contains filtered or unexported fields
}
func NewUDPFactory ¶
func NewUDPFactory(driver net.NetDriver) *UDPFactory
func (*UDPFactory) Connect ¶
func (f *UDPFactory) Connect(addr string, args ...int) (*UDPConn, error)
func (*UDPFactory) Connect4 ¶
func (f *UDPFactory) Connect4(addr string, args ...int) (*UDPConn, error)
func (*UDPFactory) Connect6 ¶
func (f *UDPFactory) Connect6(addr string, args ...int) (*UDPConn, error)
func (*UDPFactory) Listen4 ¶
func (f *UDPFactory) Listen4(addr string, args ...int) (*UDPConn, error)
func (*UDPFactory) Listen6 ¶
func (f *UDPFactory) Listen6(addr string, args ...int) (*UDPConn, error)
Click to show internal directories.
Click to hide internal directories.