httpfront

package
v0.0.0-...-debd961 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2016 License: Apache-2.0 Imports: 8 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)
	// 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