upstream

package
v8.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultBackend = helper.URLMustParse("http://localhost:8080")
)

Functions

func NewUpstream

func NewUpstream(cfg config.Config) http.Handler

func NotFoundUnless

func NotFoundUnless(pass bool, handler http.Handler) http.Handler

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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