Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Environment string `yaml:"ENVIRONMENT"` Port string `yaml:"PORT"` LogLevel string `yaml:"LOG_LEVEL"` DBUser string `yaml:"DB_USER"` DBPassword string `yaml:"DB_PASSWORD"` DBPort string `yaml:"DB_PORT"` DBHost string `yaml:"DB_HOST"` DBName string `yaml:"DB_NAME"` DBMaxOpenConnections int `yaml:"DB_MAX_OPEN_CONNECTIONS"` DBMaxIdleConnections int `yaml:"DB_MAX_IDLE_CONNECTIONS"` ServiceName string `yaml:"SERVICE_NAME"` ServiceVersion string `yaml:"SERVICE_VERSION"` GRPCPort string `yaml:"GRPC_PORT"` TraceMonitorView string `yaml:"TRACE_MONITOR_VIEW"` ElasticSearchAppSearchHost string `yaml:"ELASTIC_SEARCH_APP_SEARCH_HOST"` ElasticSearchAppSearchToken string `yaml:"ELASTIC_SEARCH_APP_SEARCH_TOKEN"` IPFSNodeEndpoint string `yaml:"IPFS_NODE_ENDPOINT"` DrivlyAPIKey string `yaml:"DRIVLY_API_KEY"` DrivlyVINAPIURL string `yaml:"DRIVLY_VIN_API_URL"` DrivlyOfferAPIURL string `yaml:"DRIVLY_OFFER_API_URL"` }
func (*Settings) GetWriterDSN ¶
GetWriterDSN builds the connection string to the db writer - for now same as reader
Click to show internal directories.
Click to hide internal directories.