Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `mapstructure:"server"`
Kafka KafkaConfig `mapstructure:"kafka"`
Notification NotificationConfig `mapstructure:"notifications"`
}
type KafkaConfig ¶
type KafkaConfig struct {
BootstrapServers string `mapstructure:"bootstrap-servers"`
RequiredAcks int `mapstructure:"required-acks"`
MaxRetries int `mapstructure:"max-retries"`
MessageChannelBuffer int `mapstructure:"message-channel-buffer"`
WorkerPoolSize int `mapstructure:"worker-pool-size"`
BatchSize int `mapstructure:"batch-size"`
BatchTimeoutMs int `mapstructure:"batch-timeout-ms"`
}
type NotificationConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Port string
}
Click to show internal directories.
Click to hide internal directories.