Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRoutes = &errString{s: "no routes"}
Functions ¶
func BuildProxy ¶
func BuildProxy(up *url.URL, transport http.RoundTripper) *httputil.ReverseProxy
func NewTransport ¶
func NewTransport(cfg TransportConfig) *http.Transport
Types ¶
type Route ¶
type Route struct {
Name string
PathPrefix string
Upstream *url.URL
StripPrefix string
AuthRequired bool
RateLimit RouteRateLimit
Proxy *httputil.ReverseProxy
}
type RouteRateLimit ¶
Click to show internal directories.
Click to hide internal directories.