zookeeper

package
v0.0.0-...-29379b6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZkClient

type ZkClient struct {
	// contains filtered or unexported fields
}

simple struct for holding all Zookeeper related settings

func (*ZkClient) Init

func (z *ZkClient) Init(conString string, conf *haproxy.Config, log *gologger.Logger) error

func (*ZkClient) Watch

func (z *ZkClient) Watch(path string)

*

  • Watches a Zookeeper node continuously in a loop. When a watch fires, the new config is rendered.
  • When first registering the watch, the initial payload is also rendered

Jump to

Keyboard shortcuts

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