I am batman
This commit is contained in:
1
services/user-service/config/config.yml
Normal file
1
services/user-service/config/config.yml
Normal file
@@ -0,0 +1 @@
|
||||
This is the configuration file for the User Service microservice. It defines the settings and parameters used by the service at runtime.
|
||||
22
services/user-service/config/env.go
Normal file
22
services/user-service/config/env.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"os"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
type Env struct {
|
||||
Port int
|
||||
JWTSecret string
|
||||
TokenDuration int
|
||||
DatabaseURL string
|
||||
RedisAddr string
|
||||
RedisPassword string
|
||||
RedisDB int
|
||||
EmailHost string
|
||||
EmailPort int
|
||||
EmailUsername string
|
||||
EmailPassword string
|
||||
EmailFrom string
|
||||
FrontendURL string
|
||||
}
|
||||
Reference in New Issue
Block a user