# Functions
NewCircuitBreaker returns a new CircuitBreaker.
NewHandlerSwitcher builds a new instance of HandlerSwitcher.
NewLogger returns a new Logger 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.
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.