package
Version:
v0.0.0-...-4f6dbb3
Opens a new window with list of versions in this module.
Published: Dec 30, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type TOTPInfo struct {
Code uint32
RemainingSeconds int64
}
TOTPInfo contains the generated code and its validity information
GenerateCode generates a TOTP code and returns it along with remaining validity time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.