Documentation ¶
Overview ¶
Package mautil provider multiaddr utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterPrivateIPs ¶
func FilterPrivateIPs(maddrs []multiaddr.Multiaddr) []multiaddr.Multiaddr
FilterPrivateIPs returns a new slice of multiaddrs with any private, loopback, or unspecified IP multiaddrs removed. If no multiaddrs are removed, then returns the original slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.