Versions in this module Expand all Collapse all v1 v1.0.0 Sep 8, 2021 Changes in this version + const ExportQRCodeSize + const PrintQRCodeAllSize + const PrintQRCodeSize + func GetDatafilePath() string + func NewData() *entity.Data + func PrintQRCode(file string) error + func ReadData() (*entity.Data, error) + func WriteData(data *entity.Data) error + type GoogleAuthenticator struct + func NewGoogleAuthenticator() *GoogleAuthenticator + func (ga *GoogleAuthenticator) GenerateSecret() (string, error) + func (ga *GoogleAuthenticator) GetCode(secret string) (code string, err error) + func (ga *GoogleAuthenticator) GetQRCode(user, secret string) string