tools

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64RandBytes added in v1.0.0

func Base64RandBytes(n uint) (string, error)

Base64RandBytes returns a base64 encoded string of `n` random bytes. NB: `n` is the number of bytes *before* base64 encoding. The returned string will be roughly 4/3 times longer, and includes trailing padding if `n` is not a multiple of 3.

func CwdURL

func CwdURL() (*url.URL, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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