config

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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"`
	DB                          db.Settings    `yaml:"DB"`
	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"`
	Redis                       redis.Settings `yaml:"REDIS"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL