package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 29, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
LogLevel string `validate:"required"`
HTTPPort uint16 `validate:"required"`
Kafka Kafka
}
Config contains all the configuration variables for this service
LoadConfig loads the configuration from defaults file
type Kafka struct {
Version string `validate:"required"`
Brokers []string `validate:"gt=0,dive,hostname_port"`
ClientID string `validate:"lowercase,printascii"`
LocationOutputTopic string `validate:"required,lowercase,printascii"`
}
Kafka contains the config for kafka
Source Files
¶
Click to show internal directories.
Click to hide internal directories.