zoo

package
v0.0.0-...-cc7dcbf Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Address = "localhost:2181"
View Source
const Timeout = 3000

Variables

This section is empty.

Functions

func CreateConnection

func CreateConnection() (*zk.Conn, <-chan zk.Event, error)

func CreateNode

func CreateNode(z *zk.Conn, name string) (string, error)

func CreatePrefixNode

func CreatePrefixNode(z *zk.Conn, prefix string) (string, error)

func WatchNode

func WatchNode(z *zk.Conn, target string) (parent, children <-chan zk.Event)

Types

This section is empty.

Jump to

Keyboard shortcuts

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