Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WaitTimeout = 10 * time.Minute
Functions ¶
This section is empty.
Types ¶
type ConsulWatched ¶
type ConsulWatched struct {
Consul *api.Client
Prefix string
UpdateChan chan map[string]interface{}
CreateChan chan map[string]interface{}
DeleteChan chan map[string]interface{}
ErrChan chan error
WaitTimeout time.Duration
// contains filtered or unexported fields
}
func (*ConsulWatched) Stop ¶
func (w *ConsulWatched) Stop()
func (*ConsulWatched) Watch ¶
func (w *ConsulWatched) Watch() error
Click to show internal directories.
Click to hide internal directories.