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