Directories ¶
Path | Synopsis |
---|---|
go-etcd
|
|
Package manners provides a wrapper for a standard net/http server that ensures all active HTTP client have completed their current request before the server shuts down.
|
Package manners provides a wrapper for a standard net/http server that ensures all active HTTP client have completed their current request before the server shuts down. |
Predicate package used to create interpreted mini languages with Go syntax - mostly to define various predicates for configuration, e.g.
|
Predicate package used to create interpreted mini languages with Go syntax - mostly to define various predicates for configuration, e.g. |
package route provides http package-compatible routing library.
|
package route provides http package-compatible routing library. |
This package contains the reverse proxy that implements http.HandlerFunc
|
This package contains the reverse proxy that implements http.HandlerFunc |
circuitbreaker
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. |
endpoint
Endpoints - final destination of the http request
|
Endpoints - final destination of the http request |
errors
Utility functions for producing errorneous http responses
|
Utility functions for producing errorneous http responses |
headers
Constants with common HTTP headers
|
Constants with common HTTP headers |
limit
Interfaces for request limiting
|
Interfaces for request limiting |
limit/connlimit
Simultaneous connection limiter
|
Simultaneous connection limiter |
limit/tokenbucket
Tokenbucket based request rate limiter
|
Tokenbucket based request rate limiter |
loadbalance
Load balancers control how requests are distributed among multiple endpoints.
|
Load balancers control how requests are distributed among multiple endpoints. |
loadbalance/roundrobin
Dynamic weighted round robin load balancer
|
Dynamic weighted round robin load balancer |
location
Interfaces for location - round trip the http request to backends
|
Interfaces for location - round trip the http request to backends |
location/httploc
HTTP location with load balancing and pluggable middlewares
|
HTTP location with load balancing and pluggable middlewares |
metrics
In memory request performance metrics
|
In memory request performance metrics |
middleware
Middlewares can modify or intercept requests and responses
|
Middlewares can modify or intercept requests and responses |
netutils
Network related utilities
|
Network related utilities |
request
Wrapper around http.Request with additional features
|
Wrapper around http.Request with additional features |
route
Route the request to a location
|
Route the request to a location |
route/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 |
route/hostroute
Route the request by hostname
|
Route the request by hostname |
route/pathroute
Route the request by path
|
Route the request by path |
template
Package template consolidates various templating utilities used throughout different parts of vulcan.
|
Package template consolidates various templating utilities used throughout different parts of vulcan. |
threshold
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.