httphandlers

package
v0.0.0-...-e6eacfd Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPAdapter

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

HTTPAdapter holds the handlers for the HTTP endpoints

func NewHTTPAdapter

func NewHTTPAdapter(gr *fgrpc.GrpcServer) *HTTPAdapter

func (*HTTPAdapter) BuildCancelHandler

func (ha *HTTPAdapter) BuildCancelHandler(w http.ResponseWriter, r *http.Request)

func (*HTTPAdapter) BuildRequestHandler

func (ha *HTTPAdapter) BuildRequestHandler(w http.ResponseWriter, r *http.Request)

REST interface handlers (proxy to gRPC handlers)

func (*HTTPAdapter) BuildStatusHandler

func (ha *HTTPAdapter) BuildStatusHandler(w http.ResponseWriter, r *http.Request)

func (*HTTPAdapter) HealthHandler

func (ha *HTTPAdapter) HealthHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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