parameter

package
v0.0.0-...-b5ec117 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Table            = "parameters"
	DefaultAlgorithm = "sha1"
	DefaultDigits    = 6
	// DefaultInterval is the period parameter defines a period that a TOTP code will be valid for, in seconds.
	// ref: https://github.com/google/google-authenticator/wiki/Key-Uri-Format#period
	DefaultInterval = 30
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameter

type Parameter struct {
	UserID  uint
	Secret  string
	Issuer  string
	Account string
}

Jump to

Keyboard shortcuts

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