go-libp2p-peer: github.com/libp2p/go-libp2p-peer Index | Files | Directories

package peer

import "github.com/libp2p/go-libp2p-peer"

Deprecated: use github.com/libp2p/go-libp2p-core/peer instead.

Index

Package Files

deprecated.go

Variables

var (
    // Deprecated: use github.com/libp2p/go-libp2p-core/peer.ErrEmptyPeerID instead.
    ErrEmptyPeerID = core.ErrEmptyPeerID
    // Deprecated: use github.com/libp2p/go-libp2p-core/peer.ErrNoPublicKey instead.
    ErrNoPublicKey = core.ErrNoPublicKey
)
var AdvancedEnableInlining = core.AdvancedEnableInlining

Deprecated: use github.com/libp2p/go-libp2p-core/peer.AdvanceEnableInlining instead. Warning: this variable's type makes it impossible to alias by reference. Reads and writes from/to this variable may be inaccurate or not have the intended effect.

func IDB58Decode Uses

func IDB58Decode(s string) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDB58Decode instead.

func IDB58Encode Uses

func IDB58Encode(id ID) string

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDB58Encode instead.

func IDFromBytes Uses

func IDFromBytes(b []byte) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromBytes instead.

func IDFromPrivateKey Uses

func IDFromPrivateKey(sk ic.PrivKey) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromPrivateKey instead.

func IDFromPublicKey Uses

func IDFromPublicKey(pk ic.PubKey) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromPublicKey instead.

func IDFromString Uses

func IDFromString(s string) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromString instead.

func IDHexDecode Uses

func IDHexDecode(s string) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDHexDecode instead.

func IDHexEncode Uses

func IDHexEncode(id ID) string

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDHexEncode instead.

type ID Uses

type ID = core.ID

Deprecated: use github.com/libp2p/go-libp2p-core/peer.ID instead.

type IDSlice Uses

type IDSlice = core.IDSlice

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDSlice instead.

Directories

PathSynopsis
peersetDeprecated: use github.com/libp2p/go-libp2p-core/peer/set instead.
test

Package peer imports 2 packages (graph) and is imported by 277 packages. Updated 2019-05-23. Refresh now. Tools for package owners.