conn

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(address string, timeout uint) (*zk.Conn, <-chan zk.Event, error)

Connect creates a new Zookeeper connection. Receives the address to connect to, and the timeout in milliseconds.

func Disconnect

func Disconnect(conn *zk.Conn)

Disconnection triggers the closing of the given Zookeeper connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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