xchk

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2018 License: Apache-2.0 Imports: 7 Imported by: 10

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 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

Jump to

Keyboard shortcuts

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