Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middlewares ¶
func Middlewares(middlewares ...Middleware) func(r *http.Request)
Types ¶
type Middleware ¶
func MiddlewareLogger ¶
func MiddlewareLogger(logger log.Logger) Middleware
func MiddlewareMetrics ¶
func MiddlewareMetrics(registry *prometheus.Registry, constLabels prometheus.Labels) Middleware
func MiddlewareSetUpstream ¶
func MiddlewareSetUpstream(upstream *url.URL) Middleware
Click to show internal directories.
Click to hide internal directories.