hkpfront

package
v0.0.0-...-4ab4374 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HKPFront

type HKPFront struct {
	Lookup func(context.Context, *proto.LookupRequest) (*proto.LookupProof, error)
	Clk    clock.Clock

	InsecureSkipVerify bool
	// Config must be set and valid if InsecureSkipVerify is not set
	Config *proto.Config

	// this is needed due to https://github.com/golang/go/issues/14374
	TLSConfig *tls.Config
	// contains filtered or unexported fields
}

HKPFront implements a unverified GnuPG-compatible HKP frontend for the verified keyserver.

func (*HKPFront) ServeHTTP

func (h *HKPFront) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*HKPFront) Start

func (h *HKPFront) Start(ln net.Listener)

func (*HKPFront) Stop

func (h *HKPFront) Stop()

Jump to

Keyboard shortcuts

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