util

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAvailableKey

func GenerateAvailableKey(maxAttempts int) (string, error)

GenerateAvailableKey runs GenerateRandomKey and verifies that the generated key isn't already being used.

func GenerateRandomKey

func GenerateRandomKey() (string, error)

GenerateRandomKey generates a cryptographically secure 7 character base 58 string for object keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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