Directories ¶
Path | Synopsis |
---|---|
buger
|
|
goterm
Provides basic bulding blocks for advanced console UI Coordinate system: 1/1---X----> | Y | v Documentation for ANSI codes: http://en.wikipedia.org/wiki/ANSI_escape_code#Colors Inspired by: http://www.darkcoding.net/software/pretty-command-line-console-output-on-unix-in-python-and-go-lang/
|
Provides basic bulding blocks for advanced console UI Coordinate system: 1/1---X----> | Y | v Documentation for ANSI codes: http://en.wikipedia.org/wiki/ANSI_escape_code#Colors Inspired by: http://www.darkcoding.net/software/pretty-command-line-console-output-on-unix-in-python-and-go-lang/ |
codahale
|
|
hdrhistogram
Package hdrhistogram provides an implementation of Gil Tene's HDR Histogram data structure.
|
Package hdrhistogram provides an implementation of Gil Tene's HDR Histogram data structure. |
codegangsta
|
|
cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
|
Package cli provides a minimal framework for creating and organizing command line Go applications. |
gorilla
|
|
context
Package gorilla/context stores values shared during a request lifetime.
|
Package gorilla/context stores values shared during a request lifetime. |
mux
Package gorilla/mux implements a request router and dispatcher.
|
Package gorilla/mux implements a request router and dispatcher. |
mailgun
|
|
manners
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
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. |
route
package route provides http package-compatible routing library.
|
package route provides http package-compatible routing library. |
vulcan
This package contains the reverse proxy that implements http.HandlerFunc
|
This package contains the reverse proxy that implements http.HandlerFunc |
vulcan/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. |
vulcan/endpoint
Endpoints - final destination of the http request
|
Endpoints - final destination of the http request |
vulcan/errors
Utility functions for producing errorneous http responses
|
Utility functions for producing errorneous http responses |
vulcan/headers
Constants with common HTTP headers
|
Constants with common HTTP headers |
vulcan/limit
Interfaces for request limiting
|
Interfaces for request limiting |
vulcan/limit/connlimit
Simultaneous connection limiter
|
Simultaneous connection limiter |
vulcan/limit/tokenbucket
Tokenbucket based request rate limiter
|
Tokenbucket based request rate limiter |
vulcan/loadbalance
Load balancers control how requests are distributed among multiple endpoints.
|
Load balancers control how requests are distributed among multiple endpoints. |
vulcan/loadbalance/roundrobin
Dynamic weighted round robin load balancer
|
Dynamic weighted round robin load balancer |
vulcan/location
Interfaces for location - round trip the http request to backends
|
Interfaces for location - round trip the http request to backends |
vulcan/location/httploc
HTTP location with load balancing and pluggable middlewares
|
HTTP location with load balancing and pluggable middlewares |
vulcan/metrics
In memory request performance metrics
|
In memory request performance metrics |
vulcan/middleware
Middlewares can modify or intercept requests and responses
|
Middlewares can modify or intercept requests and responses |
vulcan/netutils
Network related utilities
|
Network related utilities |
vulcan/request
Wrapper around http.Request with additional features
|
Wrapper around http.Request with additional features |
vulcan/route
Route the request to a location
|
Route the request to a location |
vulcan/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 |
vulcan/route/hostroute
Route the request by hostname
|
Route the request by hostname |
vulcan/route/pathroute
Route the request by path
|
Route the request by path |
vulcan/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. |
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.