config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 0 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"`
	KafkaBrokers                  string `yaml:"KAFKA_BROKERS"`
	PrivacyProcessorConsumerGroup string `yaml:"PRIVACY_PROCESSOR_CONSUMER_GROUP"`
	DeviceStatusTopic             string `yaml:"DEVICE_STATUS_TOPIC"`
	PrivacyFenceTopic             string `yaml:"PRIVACY_FENCE_TOPIC"`
	DeviceStatusPrivateTopic      string `yaml:"DEVICE_STATUS_PRIVATE_TOPIC"`
	// V2
	PrivacyProcessorConsumerGroupV2 string `yaml:"PRIVACY_PROCESSOR_CONSUMER_GROUP_V2"`
	DeviceStatusTopicV2             string `yaml:"DEVICE_STATUS_TOPIC_V2"`
	DeviceStatusPrivateTopicV2      string `yaml:"DEVICE_STATUS_PRIVATE_TOPIC_V2"`
	PrivacyFenceTopicV2             string `yaml:"PRIVACY_FENCE_TOPIC_V2"`
}

Settings contains the application config

Jump to

Keyboard shortcuts

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