randomstring

package
v0.0.0-...-750da50 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TokenBytes = 32

TokenBytes - default token bytes

Variables

This section is empty.

Functions

This section is empty.

Types

type RandomString

type RandomString interface {
	GenerateToken() (string, error)
	NumberOfBytes(base64String string) (int, error)
}

RandomString interface

func NewRandomString

func NewRandomString() RandomString

NewRandomString instantiates RandomString

Jump to

Keyboard shortcuts

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