Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMTU uint32 = 8192
Variables ¶
View Source
var ( ErrConnAlreadyExists = errors.New("connection already exists") ErrConnNotFound = errors.New("connection not found") )
Functions ¶
This section is empty.
Types ¶
type UDPMux ¶
type UDPMux struct {
// contains filtered or unexported fields
}
func (*UDPMux) AcceptConn ¶
AcceptConn reads from Conns channel. It returns io.ErrClosedPipe when the channel is closed. Users should use either AcceptConn or Conns, but never both.
Click to show internal directories.
Click to hide internal directories.