Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer(b backends.Backend) *HttpServer
func (*HttpServer) Start ¶
func (h *HttpServer) Start() error
func (*HttpServer) Stop ¶
func (h *HttpServer) Stop()
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/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. |
_workspace/src/github.com/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. |
_workspace/src/github.com/docker/docker/pkg/pools
Package pools provides a collection of pools which provide various data types with buffers.
|
Package pools provides a collection of pools which provide various data types with buffers. |
_workspace/src/github.com/fsouza/go-dockerclient
Package docker provides a client for the Docker remote API.
|
Package docker provides a client for the Docker remote API. |
_workspace/src/github.com/fsouza/go-dockerclient/testing
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
|
Package testing provides a fake implementation of the Docker API, useful for testing purpose. |
_workspace/src/github.com/garyburd/redigo/internal/redistest
Package redistest contains utilities for writing Redigo tests.
|
Package redistest contains utilities for writing Redigo tests. |
_workspace/src/github.com/garyburd/redigo/redis
Package redis is a client for the Redis database.
|
Package redis is a client for the Redis database. |
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
|
Package context stores values shared during a request lifetime. |
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
|
Package gorilla/mux implements a request router and dispatcher. |
_workspace/src/github.com/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. |
_workspace/src/github.com/mailgun/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. |
_workspace/src/github.com/mailgun/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. |
_workspace/src/github.com/mailgun/vulcan/endpoint
Endpoints - final destination of the http request
|
Endpoints - final destination of the http request |
_workspace/src/github.com/mailgun/vulcan/errors
Utility functions for producing errorneous http responses
|
Utility functions for producing errorneous http responses |
_workspace/src/github.com/mailgun/vulcan/headers
Constants with common HTTP headers
|
Constants with common HTTP headers |
_workspace/src/github.com/mailgun/vulcan/limit
Interfaces for request limiting
|
Interfaces for request limiting |
_workspace/src/github.com/mailgun/vulcan/limit/connlimit
Simultaneous connection limiter
|
Simultaneous connection limiter |
_workspace/src/github.com/mailgun/vulcan/limit/tokenbucket
Tokenbucket based request rate limiter
|
Tokenbucket based request rate limiter |
_workspace/src/github.com/mailgun/vulcan/loadbalance
Load balancers control how requests are distributed among multiple endpoints.
|
Load balancers control how requests are distributed among multiple endpoints. |
_workspace/src/github.com/mailgun/vulcan/loadbalance/roundrobin
Dynamic weighted round robin load balancer
|
Dynamic weighted round robin load balancer |
_workspace/src/github.com/mailgun/vulcan/location/httploc
HTTP location with load balancing and pluggable middlewares
|
HTTP location with load balancing and pluggable middlewares |
_workspace/src/github.com/mailgun/vulcan/metrics
In memory request performance metrics
|
In memory request performance metrics |
_workspace/src/github.com/mailgun/vulcan/middleware
Middlewares can modify or intercept requests and responses
|
Middlewares can modify or intercept requests and responses |
_workspace/src/github.com/mailgun/vulcan/netutils
Network related utilities
|
Network related utilities |
_workspace/src/github.com/mailgun/vulcan/request
Wrapper around http.Request with additional features
|
Wrapper around http.Request with additional features |
_workspace/src/github.com/mailgun/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. |
_workspace/src/github.com/mailgun/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 |
_workspace/src/github.com/mailgun/vulcand/backend
Package backend defines interfaces and structures controlling the proxy configuration and changes.
|
Package backend defines interfaces and structures controlling the proxy configuration and changes. |
_workspace/src/github.com/mailgun/vulcand/backend/etcdbackend
Etcd implementation of the backend, where all vulcand properties are implemented as directories or keys.
|
Etcd implementation of the backend, where all vulcand properties are implemented as directories or keys. |
_workspace/src/github.com/mailgun/vulcand/backend/membackend
Provides in memory backend implementation, mostly used for test purposes
|
Provides in memory backend implementation, mostly used for test purposes |
_workspace/src/github.com/mailgun/vulcand/plugin/registry
This file will be generated to include all customer specific middlewares
|
This file will be generated to include all customer specific middlewares |
_workspace/src/gopkg.in/fsnotify.v1
Package fsnotify provides a platform-independent interface for file system notifications.
|
Package fsnotify provides a platform-independent interface for file system notifications. |
Click to show internal directories.
Click to hide internal directories.