totp

package
v0.0.0-...-81011cd Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDigits = "6"
	DefaultPeriod = "30"
)

Variables

View Source
var Cmd = &cli.Command{
	Name:        "totp",
	Usage:       "generate Time-based One Time Password(TOTP)",
	Subcommands: []*cli.Command{showCmd},
}

Functions

func GenOTP

func GenOTP(uri string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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