director

package
v0.11.12 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Director

type Director struct {
	TargetURL  *url.URL
	Logger     logrus.FieldLogger
	Evaluator  evaluator.Evaluator
	KeyManager rsakey.Manager
}

func NewDirector

func NewDirector(target *url.URL, eval evaluator.Evaluator, logger logrus.FieldLogger, keyManager rsakey.Manager) *Director

func (*Director) Director

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

func (*Director) RoundTrip

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

Jump to

Keyboard shortcuts

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