token_generator

package
v0.0.0-...-ec85eee Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Numbers     = "0123456789"
	Alphabets   = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
	Base64Token = Numbers + Alphabets + "-._~+/"
)

Variables

This section is empty.

Functions

func GenerateRandomBase64Token

func GenerateRandomBase64Token(digit uint) string

GenerateRandomStr generates digit random string

func GenerateRandomNumStr

func GenerateRandomNumStr(digit uint) string

GenerateRandomNumStr generates digit random number string

Types

This section is empty.

Jump to

Keyboard shortcuts

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