# Functions
Internal constructor function.
No description provided by the author
# Structs
Detector uses ZooKeeper to detect new leading master.
Impersontates a zk.Connection It implements interface Connector.
# Interfaces
Connector Interface to facade zk.Conn type since github.com/samuel/go-zookeeper/zk does not provide an interface for the zk.Conn object, this allows for mocking and easier testing.
Factory is an adapter to trap the creation of zk.Conn instancessince the official zk API does not expose an interface for zk.Conn.