config

package
v0.7.43 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 1 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"`
	KafkaBrokers               string      `yaml:"KAFKA_BROKERS"`
	TaskStatusTopic            string      `yaml:"TASK_STATUS_TOPIC"`
	MonitoringPort             string      `yaml:"MONITORING_PORT"`
	DBCDecodingTopic           string      `yaml:"DBC_DECODING_TOPIC"`
	DeviceGRPCAddr             string      `yaml:"DEVICE_GRPC_ADDR"`
	DeploymentURL              string      `yaml:"DEPLOYMENT_URL"`
	DefinitionsGRPCAddr        string      `yaml:"DEFINITIONS_GRPC_ADDR"`
	CandumpsAWSAccessKeyID     string      `yaml:"CANDUMPS_AWS_ACCESS_KEY_ID"`
	CandumpsAWSSecretAccessKey string      `yaml:"CANDUMPS_AWS_SECRET_ACCESS_KEY"`
	// CandumpsAWSEndpoint is only used for local development
	CandumpsAWSEndpoint   string `yaml:"CANDUMPS_AWS_ENDPOINT"`
	AWSCandumpsBucketName string `yaml:"AWS_CANDUMPS_BUCKET_NAME"`
	AWSRegion             string `yaml:"AWS_REGION"`
	DeviceDataGRPCAddr    string `yaml:"DEVICE_DATA_GRPC_ADDR"`
	JwtKeySetURL          string `yaml:"JWT_KEY_SET_URL"`
	UsersGRPCAddr         string `yaml:"USERS_GRPC_ADDR"`
}

Jump to

Keyboard shortcuts

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