Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "heartbeat-publisher"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enable bool `env:"HEARTBEAT_PUBLISHER_ENABLE" default:"false" yaml:"enable"` Duration time.Duration `env:"HEARTBEAT_PUBLISHER_DURATION" default:"5m" yaml:"duration"` HeartbeatTopic string `env:"HEARTBEAT_PUBLISHER_HEARTBEAT_TOPIC" default:"go-plugins-heartbeat" yaml:"heartbeatTopic"` ConsumerRegisterTopic string `` /* 127-byte string literal not displayed */ CurrentConsumersTopic string `env:"HEARTBEAT_PUBLISHER_CURRENT_CONSUMER_TOPIC" default:"go-plugins-heartbeat-consumer" yaml:"currentConsumersTopic"` }
Click to show internal directories.
Click to hide internal directories.