dopplerproxy

package
v0.0.0-...-d41793b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2015 License: Apache-2.0, BSD-3-Clause, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const FIREHOSE_ID = "firehose"

Variables

View Source
var MissingAppIdError = errors.New("No App Id specified in request")

Functions

func TranslateFromDropsondePath

func TranslateFromDropsondePath(request *http.Request) (*http.Request, error)

func TranslateFromLegacyPath

func TranslateFromLegacyPath(request *http.Request) (*http.Request, error)

Types

type Authorizer

type Authorizer func(authToken string, appId string, logger *gosteno.Logger) (bool, error)

type Proxy

type Proxy struct {
	cfcomponent.Component
	// contains filtered or unexported fields
}

func NewDopplerProxy

func NewDopplerProxy(logAuthorize authorization.LogAccessAuthorizer, adminAuthorizer authorization.AdminAccessAuthorizer, connector channel_group_connector.ChannelGroupConnector, config cfcomponent.Config, translator RequestTranslator, cookieDomain string, logger *gosteno.Logger) *Proxy

func (*Proxy) ServeHTTP

func (proxy *Proxy) ServeHTTP(writer http.ResponseWriter, request *http.Request)

type RequestTranslator

type RequestTranslator func(request *http.Request) (*http.Request, error)

type TrafficControllerMonitor

type TrafficControllerMonitor struct {
}

func (TrafficControllerMonitor) Ok

Jump to

Keyboard shortcuts

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