util

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomBytes added in v1.0.0

func GenerateRandomBytes(n int) []byte

func MakeToken added in v1.0.0

func MakeToken(n int) string

func MustParseAddr

func MustParseAddr(str string) ma.Multiaddr

func ToValidName added in v1.0.0

func ToValidName(str string) (name string, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL