Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCreateConfig = errors.New("totpRepo.CreateConfig.QueryRowxContext") ErrorGetActiveConfig = errors.New("totpRepo.GetActiveConfig.QueryRowContext") ErrorGetConfigByTotpId = errors.New("totpRepo.GetConfigByTotpId.QueryRowContext") ErrorUpdateTotpActivityByTotpId = errors.New("totpRepo.GetConfigByTotpId.QueryRowContext") ErrorGetConfiByUserId = errors.New("totpRepo.GetConfigByUserId.QueryRowContext") ErrorGetLastDisabledConfig = errors.New("totpRepo.GetLastDisabledConfig.QueryRowContext") )
Functions ¶
func NewTOTPRepository ¶
func NewTOTPRepository(db *sqlx.DB) totp.Repository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.