Documentation ¶
Index ¶
- func GenerateRandomBytes(n int) []byte
- func MakeToken(n int) string
- func MustParseAddr(str string) ma.Multiaddr
- func NewClonedContext(ctx context.Context) context.Context
- func NewResolvedPath(s string) (path.Resolved, error)
- func ParsePath(p path.Path) (resolved path.Resolved, fpath string, err error)
- func ToValidName(str string) (name string, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶ added in v1.0.0
func MustParseAddr ¶
func NewClonedContext ¶ added in v1.0.4
NewClonedContext returns a context with the same Values but not inherited cancelation.
func ToValidName ¶ added in v1.0.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.