Versions in this module Expand all Collapse all v1 v1.1.0 Jan 17, 2018 v1.0.0 Jan 12, 2018 Changes in this version + const DefaultDigits + const DefaultStepTime + const DefaultT0 + func CreateOTP(a Account, time int64) (otp string, err error) + func ExecOp(cmd string, args ...string) (result string, err error) + func SaveAccount(c Config, a Account, pwd []byte) error + type Account struct + Digits int + Issuer string + Key string + Label string + StepTime int + T0 int + func LoadAccounts(c Config, issuer, label string, pwd []byte) (accounts []Account, err error) + func NewAccount(issuer, label, key string) Account + type Config struct + AccountsFolder string + func Configure(homeDir string) (config Config, err error) + func GetConfig() (config Config, err error)