Documentation ¶
Overview ¶
Package config provides connection with environment configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Tracer trace.Config Temporal Temporal AppliedAuthBasic string `env:"APPLIED_AUTH_BASIC"` WalletServiceHost string `env:"WALLET_SERVICE_HOST,required"` ServiceName string `env:"SERVICE_NAME,default=user-server"` AppEnv string `env:"APP_ENV,default=development"` Port string `env:"PORT,default=8001"` PrometheusPort string `env:"PROMETHEUS_PORT,default=7001"` AuthServiceHost string `env:"AUTH_SERVICE_HOST,required"` Username string `env:"USERNAME,default=user-user"` WalletServiceUsername string `env:"WALLET_SERVICE_USERNAME"` Password string `env:"PASSWORD,default=user-password"` Redis Redis AppliedAuthBearer string `env:"APPLIED_AUTH_BEARER"` SecretKey string `env:"TOKEN_SECRET_KEY,required"` WalletServicePassword string `env:"WALLET_SERVICE_PASSWORD"` AuthServiceUsername string `env:"AUTH_SERVICE_USERNAME"` AuthServicePassword string `env:"AUTH_SERVICE_PASSWORD"` Postgres sdkpg.Config RelayerSleepTimeMillisecond int `env:"RELAYER_SLEEP_TIME_MILLISECONDS,default=1000"` }
Config holds configuration for the project.
Click to show internal directories.
Click to hide internal directories.