feat: add otp redis repo

This commit is contained in:
2025-09-15 13:03:48 +03:30
parent 75e1b5111e
commit 36cda3fd5a
6 changed files with 109 additions and 1 deletions
+5
View File
@@ -6,6 +6,7 @@ type Config struct {
DB DB `mapstructure:"db"`
Redis Redis `mapstructure:"redis"`
KYCProvider KYC `mapstructure:"kyc"`
OTP OTP `mapstructure:"otp"`
}
type Server struct {
Host string `mapstructure:"host"`
@@ -36,3 +37,7 @@ type KYC struct {
APIKey string `mapstructure:"api_key"`
URL string `mapstructure:"url"`
}
type OTP struct {
CodeExpMinutes uint `mapstructure:"code_exp_minutes"`
}