Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(options ...func(*Handler) error) (defs.Middleware, error)
New generates a new header adding middleware.
func WithHeaders ¶
WithHeaders configures the headers to add to responses.
func WithLogLevel ¶
WithLogLevel configures the log level to use with the logger.
Types ¶
Click to show internal directories.
Click to hide internal directories.