reverseproxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, eg *errgroup.Group, source Source, target Target, modifier Modifier)

Types

type Modifier

type Modifier func(r *http.Request)

type ReverseProxy

type ReverseProxy struct {
}

type Source

type Source struct {
	Addr string
}

type Target

type Target struct {
	Transport http.RoundTripper
	Scheme    string
	Port      int
}

Jump to

Keyboard shortcuts

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