oathkeeper: github.com/ory/oathkeeper/proxy Index | Files

package proxy

import "github.com/ory/oathkeeper/proxy"

Index

Package Files

proxy.go request_handler.go response_writer.go

func ConfigureBackendURL Uses

func ConfigureBackendURL(r *http.Request, rl *rule.Rule) error

func EnrichRequestedURL Uses

func EnrichRequestedURL(r *http.Request)

EnrichRequestedURL sets Scheme and Host values in a URL passed down by a http server. Per default, the URL does not contain host nor scheme values.

func NewSimpleResponseWriter Uses

func NewSimpleResponseWriter() *simpleResponseWriter

type Proxy Uses

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

func NewProxy Uses

func NewProxy(r proxyRegistry) *Proxy

func (*Proxy) Director Uses

func (d *Proxy) Director(r *http.Request)

func (*Proxy) RoundTrip Uses

func (d *Proxy) RoundTrip(r *http.Request) (*http.Response, error)

type RequestHandler Uses

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

func NewRequestHandler Uses

func NewRequestHandler(r requestHandlerRegistry) *RequestHandler

func (*RequestHandler) HandleRequest Uses

func (d *RequestHandler) HandleRequest(r *http.Request, rl *rule.Rule) (http.Header, error)

Package proxy imports 13 packages (graph) and is imported by 2 packages. Updated 2019-10-03. Refresh now. Tools for package owners.