Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTP *HttpConfig KAFKA *KafkaConfig }
func LoadConfig ¶
func LoadConfig() *Config
type HttpConfig ¶
type HttpConfig struct {
Port string `envconfig:"HTTP_ROUTER_ADDRESS" required:"true"`
}
type KafkaConfig ¶
type KafkaConfig struct {
BootstrapServers string `envconfig:"KAFKA_BOOTSTRAP_SERVERS" required:"true"`
}
Click to show internal directories.
Click to hide internal directories.