README ¶ xchk Cross-checking zookeeper proxy. +---- ZKC1 --- ZK Oracle | Client --- Xchk | +---- ZKC2 --- ZK Challenge Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Auth(sp *sessionPool, zka zetcd.AuthConn, cAuth, oAuth zetcd.AuthFunc) (zetcd.Session, error) func NewAuth(cAuth, oAuth zetcd.AuthFunc, errc chan<- error) zetcd.AuthFunc func NewZK(cZK, oZK zetcd.ZKFunc, errc chan<- error) zetcd.ZKFunc type XchkError func (xe *XchkError) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Auth ¶ func Auth(sp *sessionPool, zka zetcd.AuthConn, cAuth, oAuth zetcd.AuthFunc) (zetcd.Session, error) func NewAuth ¶ func NewAuth(cAuth, oAuth zetcd.AuthFunc, errc chan<- error) zetcd.AuthFunc NewAuth takes a candidate AuthFunc and an oracle AuthFunc func NewZK ¶ func NewZK(cZK, oZK zetcd.ZKFunc, errc chan<- error) zetcd.ZKFunc NewZK takes a candidate ZKFunc and an oracle ZKFunc, returning a cross checker. Types ¶ type XchkError ¶ added in v0.0.3 type XchkError struct { // contains filtered or unexported fields } func (*XchkError) Error ¶ added in v0.0.3 func (xe *XchkError) Error() string Source Files ¶ View all Source files auth.go authconn.go conn.go error.go session.go zk.go Click to show internal directories. Click to hide internal directories.