manual

package
v0.0.0-...-a1e2317 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manual

type Manual struct {
	// contains filtered or unexported fields
}

Manual is a generator that is based on manual input

func New

func New() *Manual

New initializes a new manual generator

func (*Manual) Generate

func (m *Manual) Generate(clock time.Time, name string) (string, error)

Generate generates a new OTP by asking for it on the commandline

func (*Manual) Name

func (m *Manual) Name() string

Name returns the name of this generator

Jump to

Keyboard shortcuts

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