Versions in this module Expand all Collapse all v1 v1.0.0 Apr 18, 2016 Changes in this version + const DefaultLength + const DefaultPeriod + const DefaultRandomSecretLength + const DefaultWindowBack + const DefaultWindowForward + const MaxLength + type HOTP struct + Counter uint64 + IsBase32Secret bool + Length uint8 + Secret string + func (h *HOTP) Get() string + type TOTP struct + IsBase32Secret bool + Length uint8 + Period uint8 + Secret string + Time time.Time + WindowBack uint8 + WindowForward uint8 + func (t *TOTP) Get() string + func (t *TOTP) Now() *TOTP + func (t TOTP) Verify(token string) bool