Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { // Generate generates a named one-time password using the given reference time Generate(clock time.Time, name string) (string, error) // Name returns the name of this generator Name() string }
Generator is the interface defined by read-only sources of OTPs
Click to show internal directories.
Click to hide internal directories.