Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualMultiaddr ¶
EqualMultiaddr checks if two multiaddrs are equal.
func EqualPeerID ¶
Types ¶
type Multiaddr ¶
type Multiaddr = multiaddr.Multiaddr
Multiaddr is a wrapper for the canonical multiaddr type.
func UnmarshalMultiaddr ¶
UnmarshalMultiaddr reads a multiaddr from the given bytes.
func UnmarshalMultiaddrFrom ¶
UnmarshalMultiaddrFrom reads a multiaddr from the given reader.
func UnmarshalMultiaddrJSON ¶
UnmarshalMultiaddrJSON reads a multiaddr as a string from the given JSON bytes.
Click to show internal directories.
Click to hide internal directories.