# Functions
NewCircuitBreaker returns a new CircuitBreaker.
NewHandlerSwitcher builds a new instance of HandlerSwitcher.
NewLogger returns a new Logger instance.
NewRecorder returns an initialized ResponseRecorder.
NewRetry returns a new Retry instance.
NewRewrite creates a Rewrite middleware.
NewRoutes return a Routes based on the given router.
NewSaveBackend creates a SaveBackend.
SetBackend2FrontendMap is called by server.go to set up frontend translation.
# Structs
CircuitBreaker holds the oxy circuit breaker.
HandlerSwitcher allows hot switching of http.ServeMux.
Logger writes each request and its response to the access log.
ResponseRecorder is an implementation of http.ResponseWriter that records its mutations for later inspection in tests.
Retry is a middleware that retries requests.
Rewrite is a middleware that allows redirections.
Routes holds the gorilla mux routes (for the API & co).
SaveBackend sends the backend name to the logger.
StripPrefix is a middleware used to strip prefix from an URL request.