go-multiaddr-net: github.com/multiformats/go-multiaddr-net Index | Files | Directories

package manet

import "github.com/multiformats/go-multiaddr-net"

Deprecated: use github.com/multiformats/go-multiaddr/net

Deprecated: use github.com/multiformats/go-multiaddr/net

Index

Package Files

convert.go doc.go ip.go net.go private.go registry.go

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

func AddrMatch Uses

func AddrMatch(match ma.Multiaddr, addrs []ma.Multiaddr) []ma.Multiaddr

Deprecated: use github.com/multiformats/go-multiaddr/net

func DialArgs Uses

func DialArgs(m ma.Multiaddr) (string, string, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func FromIP Uses

func FromIP(ip net.IP) (ma.Multiaddr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func FromIPAndZone Uses

func FromIPAndZone(ip net.IP, zone string) (ma.Multiaddr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func FromNetAddr Uses

func FromNetAddr(a net.Addr) (ma.Multiaddr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func InterfaceMultiaddrs Uses

func InterfaceMultiaddrs() ([]ma.Multiaddr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func IsIP6LinkLocal Uses

func IsIP6LinkLocal(m ma.Multiaddr) bool

Deprecated: use github.com/multiformats/go-multiaddr/net

func IsIPLoopback Uses

func IsIPLoopback(m ma.Multiaddr) bool

Deprecated: use github.com/multiformats/go-multiaddr/net

func IsIPUnspecified Uses

func IsIPUnspecified(m ma.Multiaddr) bool

Deprecated: use github.com/multiformats/go-multiaddr/net

func IsPrivateAddr Uses

func IsPrivateAddr(a ma.Multiaddr) bool

Deprecated: use github.com/multiformats/go-multiaddr/net

func IsPublicAddr Uses

func IsPublicAddr(a ma.Multiaddr) bool

Deprecated: use github.com/multiformats/go-multiaddr/net

func IsThinWaist Uses

func IsThinWaist(m ma.Multiaddr) bool

Deprecated: use github.com/multiformats/go-multiaddr/net

func NetListener Uses

func NetListener(l Listener) net.Listener

Deprecated: use github.com/multiformats/go-multiaddr/net

func RegisterNetCodec Uses

func RegisterNetCodec(a *NetCodec)

Deprecated: use github.com/multiformats/go-multiaddr/net

func ToIP Uses

func ToIP(addr ma.Multiaddr) (net.IP, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func ToNetAddr Uses

func ToNetAddr(maddr ma.Multiaddr) (net.Addr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

type CodecMap Uses

type CodecMap = upstream.CodecMap

Deprecated: use github.com/multiformats/go-multiaddr/net

func NewCodecMap Uses

func NewCodecMap() *CodecMap

Deprecated: use github.com/multiformats/go-multiaddr/net

type Conn Uses

type Conn = upstream.Conn

Deprecated: use github.com/multiformats/go-multiaddr/net

func Dial Uses

func Dial(remote ma.Multiaddr) (Conn, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func WrapNetConn Uses

func WrapNetConn(nconn net.Conn) (Conn, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

type Dialer Uses

type Dialer = upstream.Dialer

Deprecated: use github.com/multiformats/go-multiaddr/net

type FromNetAddrFunc Uses

type FromNetAddrFunc func(a net.Addr) (ma.Multiaddr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

type Listener Uses

type Listener = upstream.Listener

Deprecated: use github.com/multiformats/go-multiaddr/net

func Listen Uses

func Listen(laddr ma.Multiaddr) (Listener, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func WrapNetListener Uses

func WrapNetListener(nl net.Listener) (Listener, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

type NetCodec Uses

type NetCodec = upstream.NetCodec

Deprecated: use github.com/multiformats/go-multiaddr/net

type PacketConn Uses

type PacketConn = upstream.PacketConn

Deprecated: use github.com/multiformats/go-multiaddr/net

func ListenPacket Uses

func ListenPacket(laddr ma.Multiaddr) (PacketConn, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

func WrapPacketConn Uses

func WrapPacketConn(pc net.PacketConn) (PacketConn, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

type ToNetAddrFunc Uses

type ToNetAddrFunc func(ma ma.Multiaddr) (net.Addr, error)

Deprecated: use github.com/multiformats/go-multiaddr/net

Directories

PathSynopsis
multiaddr

Package manet imports 3 packages (graph) and is imported by 130 packages. Updated 2020-08-19. Refresh now. Tools for package owners.