Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDeadline net.Error = &deadlineError{}
Functions ¶
This section is empty.
Types ¶
type Deadline ¶
type Deadline struct {
// contains filtered or unexported fields
}
func (*Deadline) SetDeadline ¶
type UDPListener ¶ added in v0.10.0
type UDPListener struct { PacketConn net.PacketConn // contains filtered or unexported fields }
UDPListener wrap net.PacketConn as a udp listener
func (*UDPListener) Accept ¶ added in v0.10.0
func (l *UDPListener) Accept() (net.Conn, error)
Accept a connection-oriented udp connection
func (*UDPListener) AcceptContext ¶ added in v0.10.0
AcceptContext accept a connection-oriented udp connection with a context
func (*UDPListener) Addr ¶ added in v0.10.0
func (l *UDPListener) Addr() net.Addr
Addr get listener addr
Click to show internal directories.
Click to hide internal directories.