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"` LogLevel string `yaml:"LOG_LEVEL"` Port string `yaml:"PORT"` GRPCPort string `yaml:"GRPC_PORT"` MonitoringPort string `yaml:"MONITORING_PORT"` DB db.Settings `yaml:"DB"` JwtKeySetURL string `yaml:"JWT_KEY_SET_URL"` ServiceName string `yaml:"SERVICE_NAME"` ServiceVersion string `yaml:"SERVICE_VERSION"` DevicesGRPCAddr string `yaml:"DEVICES_GRPC_ADDR"` DeviceDataGRPCAddr string `yaml:"DEVICE_DATA_GRPC_ADDR"` DeviceDefinitionsGRPCAddr string `yaml:"DEVICE_DEFINITIONS_GRPC_ADDR"` VincarioAPIURL string `yaml:"VINCARIO_API_URL"` VincarioAPISecret string `yaml:"VINCARIO_API_SECRET"` VincarioAPIKey string `yaml:"VINCARIO_API_KEY"` DrivlyAPIKey string `yaml:"DRIVLY_API_KEY"` DrivlyVINAPIURL string `yaml:"DRIVLY_VIN_API_URL"` DrivlyOfferAPIURL string `yaml:"DRIVLY_OFFER_API_URL"` GoogleMapsAPIKey string `yaml:"GOOGLE_MAPS_API_KEY"` NATSURL string `yaml:"NATS_URL"` NATSStreamName string `yaml:"NATS_STREAM_NAME"` NATSValuationSubject string `yaml:"NATS_VALUATION_SUBJECT"` NATSAckTimeout string `yaml:"NATS_ACK_TIMEOUT"` NATSValuationDurableConsumer string `yaml:"NATS_VALUATION_DURABLE_CONSUMER"` NATSOfferSubject string `yaml:"NATS_OFFER_SUBJECT"` NATSOfferDurableConsumer string `yaml:"NATS_OFFER_DURABLE_CONSUMER"` }
func (*Settings) IsProduction ¶
Click to show internal directories.
Click to hide internal directories.