Documentation ¶
Overview ¶
Deprecated: use github.com/libp2p/go-libp2p-core/peer instead.
Index ¶
- Variables
- func IDB58Decode(s string) (core.ID, error)deprecated
- func IDB58Encode(id ID) stringdeprecated
- func IDFromBytes(b []byte) (core.ID, error)deprecated
- func IDFromPrivateKey(sk ic.PrivKey) (core.ID, error)deprecated
- func IDFromPublicKey(pk ic.PubKey) (core.ID, error)deprecated
- func IDFromString(s string) (core.ID, error)deprecated
- func IDHexDecode(s string) (core.ID, error)deprecated
- func IDHexEncode(id ID) stringdeprecated
- type IDdeprecated
- type IDSlicedeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
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 )
View Source
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.
Functions ¶
func IDB58Decode
deprecated
func IDB58Encode
deprecated
func IDFromBytes
deprecated
func IDFromString
deprecated
func IDHexDecode
deprecated
func IDHexEncode
deprecated
Types ¶
Click to show internal directories.
Click to hide internal directories.