Documentation ¶
Overview ¶
Package ipnet contains helper functions around net and IP
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddrEqual ¶
AddrEqual asserts that two net.Addrs are equal Currently only supports UDP but will be extended in the future to support others
func AddrIPPort ¶
AddrIPPort extracts the IP and Port from a net.Addr
func FingerprintAddr ¶ added in v2.1.1
FingerprintAddr generates a fingerprint from net.UDPAddr or net.TCPAddr's which can be used for indexing maps.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.