watcher

package module
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2019 License: MIT Imports: 4 Imported by: 1

README

Consul watcher for Application settings

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL