Added reset password route

This commit is contained in:
Nedim
2023-10-30 19:21:43 +01:00
parent 75692d7b20
commit 72ccd5e71c
16 changed files with 531 additions and 33 deletions

View File

@@ -44,6 +44,10 @@ func Load() error {
ContractAddress: getEnv("NOVATECH_BLOCKCHAIN_CONTRACT_ADDRESS", ""),
WalletAddress: getEnv("NOVATECH_BLOCKCHAIN_WALLET_ADDRESS", ""),
WalletPrivateKey: getEnv("NOVATECH_BLOCKCHAIN_WALLET_PRIVATE_KEY", ""),
},
AWS: AWS {
AccessKey: getEnv("AWS_ACCESS_KEY_ID", ""),
SecretKey: getEnv("AWS_SECRET_ACCESS_KEY", ""),
},
}

View File

@@ -6,6 +6,7 @@ type Config struct {
AdminService Service
Database Database
Blockchain Blockchain
AWS AWS
}
// Service contains configuration for service
@@ -32,3 +33,8 @@ type Database struct {
HostName string
Port string
}
type AWS struct {
AccessKey string
SecretKey string
}