Versions in this module Expand all Collapse all v0 v0.0.1 Nov 16, 2022 Changes in this version + const OTPLength + const OTPPeriod + func NewQR(uri string) ([]byte, error) + func NewSecret() (string, error) + type OTP struct + Account string + Counter int + Issuer string + Secret string + Window int + func (o *OTP) CreateHOTPCode(counter int) (string, error) + func (o *OTP) CreateURI() string + func (o *OTP) VerifyCode(code string) (bool, error)