Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultLogLevel = "info" DefaultStatsPort = 8282 DefaultStatsNS = "event_stream_publisher" DefaultKafkaPrefix = "es.stream" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Esp ¶
type Esp struct { DbAddr string `envconfig:"DB_ADDR" required:"true"` KafkaAddr []string `envconfig:"KAFKA_BROKERS" required:"true"` KafkaPrefix string `envconfig:"KAFKA_PREFIX"` LogLevel string `envconfig:"LOG_LEVEL"` LogFormat string `envconfig:"LOG_FORMAT"` StatsNs string `envconfig:"STATS_NS"` StatsPort int `envconfig:"STATS_HTTP_PORT"` }
func (*Esp) HasKafkaPrefix ¶
Click to show internal directories.
Click to hide internal directories.