Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcer ¶
Announcer announces Relay bundles lists to Cog
func NewAnnouncer ¶
NewAnnouncer creates a new Announcer
type DynamicConfigUpdater ¶ added in v0.9.0
type DynamicConfigUpdater struct {
// contains filtered or unexported fields
}
DynamicConfigUpdater periodically updates bundle dynamic configurations from Cog
func NewDynamicConfigUpdater ¶ added in v0.9.0
func NewDynamicConfigUpdater(relayID string, busOpts bus.ConnectionOptions, dynamicConfigRoot string, refreshInterval time.Duration) *DynamicConfigUpdater
NewDynamicConfigUpdater creates a new updater
func (*DynamicConfigUpdater) Halt ¶ added in v0.9.0
func (dcu *DynamicConfigUpdater) Halt()
Halt tells the DCU to stop.
func (*DynamicConfigUpdater) Run ¶ added in v0.9.0
func (dcu *DynamicConfigUpdater) Run() error
Click to show internal directories.
Click to hide internal directories.