Documentation ¶
Overview ¶
Package netutil only defines interfaces for objects which can return listeners.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketListener ¶
type PacketListener interface {
Listen() (listeners []net.PacketConn, err error)
}
PacketListener - an object which can create a slice of PacketConn listeners when invoked
type StreamListener ¶
StreamListener - an object which can create a slice of listeners when invoked.
Directories ¶
Path | Synopsis |
---|---|
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
|
Package pool implements a pool of net.Conn interfaces to manage and reuse them. |
Package reaper implements an IOActivityTimeout for a net.Conn by having a reaper go-routine monitoring connections for IO activity and close connections which fail to show activity.
|
Package reaper implements an IOActivityTimeout for a net.Conn by having a reaper go-routine monitoring connections for IO activity and close connections which fail to show activity. |
Click to show internal directories.
Click to hide internal directories.