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 |
location
|
|
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 |
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.