feat: add otp redis repo
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user