Documentation ¶
Overview ¶
Deprecated: use github.com/multiformats/go-multiaddr/net
Deprecated: use github.com/multiformats/go-multiaddr/net
Index ¶
- Variables
- func AddrMatch(match ma.Multiaddr, addrs []ma.Multiaddr) []ma.Multiaddrdeprecated
- func DialArgs(m ma.Multiaddr) (string, string, error)deprecated
- func FromIP(ip net.IP) (ma.Multiaddr, error)deprecated
- func FromIPAndZone(ip net.IP, zone string) (ma.Multiaddr, error)deprecated
- func FromNetAddr(a net.Addr) (ma.Multiaddr, error)deprecated
- func InterfaceMultiaddrs() ([]ma.Multiaddr, error)deprecated
- func IsIP6LinkLocal(m ma.Multiaddr) booldeprecated
- func IsIPLoopback(m ma.Multiaddr) booldeprecated
- func IsIPUnspecified(m ma.Multiaddr) booldeprecated
- func IsPrivateAddr(a ma.Multiaddr) booldeprecated
- func IsPublicAddr(a ma.Multiaddr) booldeprecated
- func IsThinWaist(m ma.Multiaddr) booldeprecated
- func NetListener(l Listener) net.Listenerdeprecated
- func RegisterNetCodec(a *NetCodec)deprecated
- func ToIP(addr ma.Multiaddr) (net.IP, error)deprecated
- func ToNetAddr(maddr ma.Multiaddr) (net.Addr, error)deprecated
- type CodecMapdeprecated
- func NewCodecMap() *CodecMapdeprecated
- type Conndeprecated
- type Dialerdeprecated
- type FromNetAddrFuncdeprecated
- type Listenerdeprecated
- type NetCodecdeprecated
- type PacketConndeprecated
- type ToNetAddrFuncdeprecated
Constants ¶
This section is empty.
Variables ¶
var ( // Deprecated: use github.com/multiformats/go-multiaddr/net IP4Loopback = upstream.IP4Loopback // Deprecated: use github.com/multiformats/go-multiaddr/net IP6Loopback = upstream.IP6Loopback // Deprecated: use github.com/multiformats/go-multiaddr/net IP4MappedIP6Loopback = upstream.IP4MappedIP6Loopback )
var ( // Deprecated: use github.com/multiformats/go-multiaddr/net IP4Unspecified = upstream.IP4Unspecified // Deprecated: use github.com/multiformats/go-multiaddr/net IP6Unspecified = upstream.IP6Unspecified )
var Private4 = upstream.Private4
Deprecated: use github.com/multiformats/go-multiaddr/net
var Private6 = upstream.Private6
Deprecated: use github.com/multiformats/go-multiaddr/net
var Unroutable4 = upstream.Unroutable4
Deprecated: use github.com/multiformats/go-multiaddr/net
var Unroutable6 = upstream.Unroutable6
Deprecated: use github.com/multiformats/go-multiaddr/net
Functions ¶
func InterfaceMultiaddrs
deprecated
func IsIP6LinkLocal
deprecated
func IsIPLoopback
deprecated
func IsIPUnspecified
deprecated
func IsPrivateAddr
deprecated
func IsPublicAddr
deprecated
func IsThinWaist
deprecated
func NetListener
deprecated
func RegisterNetCodec
deprecated
func RegisterNetCodec(a *NetCodec)
Deprecated: use github.com/multiformats/go-multiaddr/net
Types ¶
type CodecMap
deprecated
Deprecated: use github.com/multiformats/go-multiaddr/net
func NewCodecMap
deprecated
func NewCodecMap() *CodecMap
Deprecated: use github.com/multiformats/go-multiaddr/net
type Conn
deprecated
type Listener
deprecated
type PacketConn
deprecated
type PacketConn = upstream.PacketConn
Deprecated: use github.com/multiformats/go-multiaddr/net
func ListenPacket
deprecated
func ListenPacket(laddr ma.Multiaddr) (PacketConn, error)
Deprecated: use github.com/multiformats/go-multiaddr/net
func WrapPacketConn
deprecated
func WrapPacketConn(pc net.PacketConn) (PacketConn, error)
Deprecated: use github.com/multiformats/go-multiaddr/net