Documentation ¶
Index ¶
- func NewBangHandler() http.Handler
- func NewHelloWorld(statsd *statsd.Client, logger *logrus.Logger) http.Handler
- func NewPanic(statsd *statsd.Client, logger *logrus.Logger, next http.Handler) http.Handler
- func NewTagRequest(next http.Handler) http.Handler
- func NewValidation(statsd *statsd.Client, logger *logrus.Logger, next http.Handler) http.Handler
- type Name
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBangHandler ¶
NewBangHandler creates a handler which panics
func NewHelloWorld ¶
NewHelloWorld creates a new handler with the given statsd client and logger
func NewPanic ¶
NewPanic creates a panic handler with the given statsd client, logger and next handler
func NewTagRequest ¶
NewTagRequest is a middleware handler which appends X-Request-ID header if one is not already set
Types ¶
Click to show internal directories.
Click to hide internal directories.