Documentation ¶ Index ¶ Constants func GetToken(secret string, interval int64) (string, error) func Verify(secret, code string) (bool, error) func VerifyMultipleIntervals(secret, code string, count int) (bool, error) Constants ¶ View Source const INTERVAL = 30 Variables ¶ This section is empty. Functions ¶ func GetToken ¶ func GetToken(secret string, interval int64) (string, error) func Verify ¶ func Verify(secret, code string) (bool, error) func VerifyMultipleIntervals ¶ func VerifyMultipleIntervals(secret, code string, count int) (bool, error) Types ¶ This section is empty. Source Files ¶ View all Source files verify.go Click to show internal directories. Click to hide internal directories.