Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomAddrs ¶
RandomAddrs returns a slice of n random unique addresses.
func RandomCids ¶
func RandomCids(n int) []cid.Cid
RandomCids returns a slice of n random unique CIDs.
func RandomIdentity ¶
RandomIdentity returns a random unique peer ID, private key, and public key.
func RandomMultiaddrs ¶ added in v0.0.5
func RandomMultiaddrs(n int) []multiaddr.Multiaddr
RandomMultiaddrs returns a slice of n random unique Multiaddrs.
func RandomMultihashes ¶
func RandomMultihashes(n int) []multihash.Multihash
RandomMultihashes returns a slice of n random unique Multihashes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.