Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SettingsWatcher ¶
type SettingsWatcher struct {
// contains filtered or unexported fields
}
SettingsWatcher watches settings and notifies its subscribers about any changes.
func NewSettingsWatcher ¶
func NewSettingsWatcher(provider provider.SettingsProvider) (*SettingsWatcher, error)
SettingsWatcher returns a new resource watcher.
func (*SettingsWatcher) Subscribe ¶
func (watcher *SettingsWatcher) Subscribe(subscription pubsub.Subscription)
Subscribe allows to register subscription handler which will be invoked on each settings change.
Click to show internal directories.
Click to hide internal directories.