httpfront

package
v0.0.0-...-fc5f1c2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPFront

type HTTPFront struct {
	Lookup     func(context.Context, *proto.LookupRequest) (*proto.LookupProof, error)
	Update     func(context.Context, *proto.UpdateRequest) (*proto.LookupProof, error)
	InRotation func() bool

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

HTTPFront implements a dumb http proxy for the keyserver grpc interface

func (*HTTPFront) ServeHTTP

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

func (*HTTPFront) Start

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

func (*HTTPFront) Stop

func (h *HTTPFront) Stop()

Jump to

Keyboard shortcuts

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