README

xchk

Cross-checking zookeeper proxy.

        +---- ZKC1 --- ZK Oracle
        |          

Client --- Xchk | +---- ZKC2 --- ZK Challenge

Documentation

Index

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

      type XchkError struct {
      	// contains filtered or unexported fields
      }

      func (*XchkError) Error

      func (xe *XchkError) Error() string