verifier

package
v0.0.0-...-98bfee9 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

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

Verifier verifies that the Keyserver of the realm is not cheating. The veirifier is not replicated because one can just run several.

func Start

func Start(cfg *proto.VerifierConfig, db kv.DB, getKey func(string) (crypto.PrivateKey, error)) (*Verifier, error)

Start initializes a new verifier based on config and db, or returns an error if initialization fails. It then starts the worker goroutine(s).

func (*Verifier) Stop

func (vr *Verifier) Stop()

Stop cleanly shuts down the verifier and then returns.

Jump to

Keyboard shortcuts

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