Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulWatcher ¶
type ConsulWatcher struct {
// contains filtered or unexported fields
}
ConsulWatcher - watcher setting in consul server
func NewConsulWatcher ¶ added in v1.0.3
func NewConsulWatcher(consul *api.Client, key string) *ConsulWatcher
NewConsulWatcher - create new consul watcher
func (*ConsulWatcher) Setup ¶
func (watcher *ConsulWatcher) Setup(cfg *settings.Configuration, creator settings.WatcherSettingsCreator) (err error)
Setup - setup settings for watcher
Click to show internal directories.
Click to hide internal directories.