cloudfoundryhosting

package
v2.0.0-beta-001+incomp... Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 14 Imported by: ? 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 (
	VCapApplication  = "VCAP_APPLICATION"
	CFApiURLOverride = "CF_API_URL"
	CFApiForceSecure = "CF_API_FORCE_SECURE"

	ForceEndpointDashboard = "FORCE_ENDPOINT_DASHBOARD"
)

Variables

This section is empty.

Functions

func Init

Types

type CFHosting

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

func (*CFHosting) EchoMiddleware

func (ch *CFHosting) EchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc

func (*CFHosting) GetEndpointPlugin

func (ch *CFHosting) GetEndpointPlugin() (interfaces.EndpointPlugin, error)

func (*CFHosting) GetMiddlewarePlugin

func (ch *CFHosting) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)

func (*CFHosting) GetRoutePlugin

func (ch *CFHosting) GetRoutePlugin() (interfaces.RoutePlugin, error)

func (*CFHosting) Init

func (ch *CFHosting) Init() error

func (*CFHosting) SessionEchoMiddleware

func (ch *CFHosting) SessionEchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc

For cloud foundry session affinity Ensure we add a cookie named "JSESSIONID" for Cloud Foundry session affinity

Jump to

Keyboard shortcuts

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