guard

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: GPL-2.0, GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeLen = 36
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Guard

type Guard struct{}

func New

func New() *Guard

func (*Guard) GenerateCode

func (g *Guard) GenerateCode() string

func (*Guard) GenerateToken

func (g *Guard) GenerateToken(payload string) (*proto.Token, error)

Jump to

Keyboard shortcuts

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