Versions in this module Expand all Collapse all v1 v1.0.4 Dec 28, 2023 Changes in this version + type ITOTPAuth interface + GenSecret func(length int) string + GetCode func(secret string) string + GetCodeAt func(secret string, t time.Time) string + GetQRCodeContent func(account, issuer, secret string) string + Verify func(secret, code string) bool + VerifyAt func(secret, code string, t time.Time) bool + func NewGoogleAuth() ITOTPAuth