Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct { // the number of seconds between generating TOTPs. A default timestep of 30 seconds is recommended Timestep uint // The shared secret Secret []byte // Number of Digits required Digits uint // the algorithm to use Algorithm Algo // For testing purposes, the current Unix time CurrentUnixTime uint64 }
Click to show internal directories.
Click to hide internal directories.