config

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 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"`
}

Jump to

Keyboard shortcuts

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