Versions in this module Expand all Collapse all v0 v0.0.4 Jul 11, 2022 v0.0.3 Mar 26, 2022 Changes in this version + var Module = module.Module + func Defaults(ctx *cli.Context, v *viper.Viper) error + type Key struct + AESKey string + Active bool + Created string + ID uint64 + LockCode string + PrivateID string + PublicID string + func (k *Key) String() string + type Service struct + func (s *Service) DecryptOTP(publicID, token string) (*common.OTP, error) + func (s *Service) GetKey(publicID string) (*Key, error) + func (s *Service) Name() string + func (s *Service) Start(ctx context.Context) error + func (s *Service) Stop(ctx context.Context) + func (s *Service) StoreKey(k *Key) error