Versions in this module Expand all Collapse all v4 v4.0.1 Dec 20, 2023 Changes in this version + var ErrInvalidSharedSecret error = errors.New("invalid base64 shared secret") + func GenerateTotpCode(sharedSecret string, time time.Time) (string, error) + type Totp struct + Time time.Time + func NewTimedTotp(sharedSecret string, time time.Time) *Totp + func NewTotp(sharedSecret string) *Totp + func (totp *Totp) GenerateCode() (string, error) + func (totp *Totp) SharedSecret() string Other modules containing this package github.com/Flo4604/go-steam/v5