Documentation ¶
Index ¶
- Variables
- func IPToInt32(ip net.IP) uint32
- func ListenTCP(addr *net.TCPAddr) (listener net.Listener, err error)
- func MustParseMAC(rawMac string) net.HardwareAddr
- func RandomPort() (port int, err error)
- func Uint32ToIP(i uint32) net.IP
- func WrapToManaged(listener net.Listener) (net.Listener, error)
- type IPPort
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotATCPListener = errors.New("is not a TCP listener")
Functions ¶
func MustParseMAC ¶ added in v0.8.0
func MustParseMAC(rawMac string) net.HardwareAddr
func RandomPort ¶ added in v0.9.0
func Uint32ToIP ¶ added in v0.8.0
Types ¶
Click to show internal directories.
Click to hide internal directories.