Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func B58KeyEncode ¶
B58KeyEncode returns Key in a b58 encoded string
Types ¶
type Key ¶
type Key string
Key is a string representation of multihash for use with maps.
func B58KeyDecode ¶
B58KeyDecode returns Key from a b58 encoded string
func (*Key) MarshalJSON ¶
MarshalJSON returns a JSON-encoded Key (string)
func (Key) ToMultihash ¶
func (*Key) UnmarshalJSON ¶
UnmarshalJSON returns a JSON-encoded Key (string)
Click to show internal directories.
Click to hide internal directories.