handler

package
v0.0.0-...-69c5d92 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	MaxRetries = 3
)

Variables

View Source
var NoEndpointsAvailable = errors.New("No endpoints available")

Functions

func SetRequestXCfInstanceId

func SetRequestXCfInstanceId(request *http.Request, endpoint *route.Endpoint)

func SetRequestXRequestStart

func SetRequestXRequestStart(request *http.Request)

Types

type RequestHandler

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

func (*RequestHandler) AddLoggingData

func (h *RequestHandler) AddLoggingData(data lager.Data)

func (*RequestHandler) HandleBadGateway

func (h *RequestHandler) HandleBadGateway(err error, request *http.Request)

func (*RequestHandler) HandleBadSignature

func (h *RequestHandler) HandleBadSignature(err error)

func (*RequestHandler) HandleHeartbeat

func (h *RequestHandler) HandleHeartbeat(ok bool)

func (*RequestHandler) HandleMissingRoute

func (h *RequestHandler) HandleMissingRoute()

func (*RequestHandler) HandleRouteServiceFailure

func (h *RequestHandler) HandleRouteServiceFailure(err error)

func (*RequestHandler) HandleTcpRequest

func (h *RequestHandler) HandleTcpRequest(iter route.EndpointIterator)

func (*RequestHandler) HandleUnsupportedProtocol

func (h *RequestHandler) HandleUnsupportedProtocol()

func (*RequestHandler) HandleUnsupportedRouteService

func (h *RequestHandler) HandleUnsupportedRouteService()

func (*RequestHandler) HandleWebSocketRequest

func (h *RequestHandler) HandleWebSocketRequest(iter route.EndpointIterator)

func (*RequestHandler) Logger

func (h *RequestHandler) Logger() lager.Logger

Jump to

Keyboard shortcuts

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