Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TotpHelper ¶
type TotpHelper interface { GenerateCode(secret string, time time.Time) (string, error) GenerateCodeUsingCurrentTime(secret string) (string, error) }
func NewTotpHelper ¶
func NewTotpHelper() (TotpHelper, error)
Click to show internal directories.
Click to hide internal directories.