~niemeyer/gozk/watches-die-on-reconnection

Viewing all changes in revision 32.

zookeeper: allow CreateServer to work in an existing directory.

It only succeeds if the directory is empty, for instance
when it's created by ioutil.TempDir.

Also add Server.Addr method and change the NotRunning
error to ErrNotRunning.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/5787068

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: