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 ServiceName string `env:"SERVICE_NAME,default=wallet-server"` AppEnv string `env:"APP_ENV,default=development"` Port string `env:"PORT,default=8004"` PrometheusPort string `env:"PROMETHEUS_PORT,default=7004"` Username string `env:"USERNAME,default=wallet-user"` Password string `env:"PASSWORD,default=wallet-password"` AppliedAuthBearer string `env:"APPLIED_AUTH_BEARER"` AppliedAuthBasic string `env:"APPLIED_AUTH_BASIC"` SecretKey string `env:"TOKEN_SECRET_KEY,required"` Redis Redis Postgres sdkpg.Config }
Config holds configuration for the project.
Click to show internal directories.
Click to hide internal directories.