Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBackend = helper.URLMustParse("http://localhost:8080")
Functions ¶
Types ¶
type Upstream ¶
type Upstream struct { Backend *url.URL Version string DocumentRoot string DevelopmentMode bool URLPrefix urlprefix.Prefix Routes []route RoundTripper *badgateway.RoundTripper }
func NewUpstream ¶
Click to show internal directories.
Click to hide internal directories.