Documentation
¶
Overview ¶
This package contains the reverse proxy that implements http.HandlerFunc
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Circuit breakers start in the Standby state first, observing responses and watching location metrics.
|
Circuit breakers start in the Standby state first, observing responses and watching location metrics. |
|
Endpoints - final destination of the http request
|
Endpoints - final destination of the http request |
|
Utility functions for producing errorneous http responses
|
Utility functions for producing errorneous http responses |
|
Constants with common HTTP headers
|
Constants with common HTTP headers |
|
Interfaces for request limiting
|
Interfaces for request limiting |
|
connlimit
Simultaneous connection limiter
|
Simultaneous connection limiter |
|
tokenbucket
Tokenbucket based request rate limiter
|
Tokenbucket based request rate limiter |
|
Load balancers control how requests are distributed among multiple endpoints.
|
Load balancers control how requests are distributed among multiple endpoints. |
|
roundrobin
Dynamic weighted round robin load balancer
|
Dynamic weighted round robin load balancer |
|
Interfaces for location - round trip the http request to backends
|
Interfaces for location - round trip the http request to backends |
|
httploc
HTTP location with load balancing and pluggable middlewares
|
HTTP location with load balancing and pluggable middlewares |
|
In memory request performance metrics
|
In memory request performance metrics |
|
Middlewares can modify or intercept requests and responses
|
Middlewares can modify or intercept requests and responses |
|
Network related utilities
|
Network related utilities |
|
Wrapper around http.Request with additional features
|
Wrapper around http.Request with additional features |
|
Route the request to a location
|
Route the request to a location |
|
exproute
see http://godoc.org/github.com/mailgun/route for documentation on the language
|
see http://godoc.org/github.com/mailgun/route for documentation on the language |
|
hostroute
Route the request by hostname
|
Route the request by hostname |
|
pathroute
Route the request by path
|
Route the request by path |
|
Package template consolidates various templating utilities used throughout different parts of vulcan.
|
Package template consolidates various templating utilities used throughout different parts of vulcan. |
|
Package threshold contains predicates that can define various request thresholds Examples: * RequestMethod() == "GET" triggers action when request method equals "GET" * IsNetworkError() - triggers action on network errors * RequestMethod() == "GET" && Attempts <= 2 && (IsNetworkError() || ResponseCode() == 408) This predicate triggers for GET requests with maximum 2 attempts on network errors or when upstream returns special http response code 408
|
Package threshold contains predicates that can define various request thresholds Examples: * RequestMethod() == "GET" triggers action when request method equals "GET" * IsNetworkError() - triggers action on network errors * RequestMethod() == "GET" && Attempts <= 2 && (IsNetworkError() || ResponseCode() == 408) This predicate triggers for GET requests with maximum 2 attempts on network errors or when upstream returns special http response code 408 |
Click to show internal directories.
Click to hide internal directories.