Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAddr = errors.New("invalid IPFS address")
ErrInvalidAddr signals an address is not a valid IPFS address.
Functions ¶
Types ¶
type IPFSAddr ¶
type IPFSAddr interface { ID() peer.ID Multiaddr() ma.Multiaddr Transport() ma.Multiaddr String() string Equal(b interface{}) bool }
func ParseMultiaddr ¶
ParseMultiaddr parses a multiaddr into an IPFSAddr
func ParseString ¶
ParseString parses a string representation of an address into an IPFSAddr
Click to show internal directories.
Click to hide internal directories.