Documentation ¶
Overview ¶
Package headers provides middleware that appends headers to requests based on a set of configuration rules that define which routes receive which headers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Headers ¶
type Headers struct { Next middleware.Handler Rules []Rule }
Headers is middleware that adds headers to the responses for requests matching a certain path.
Click to show internal directories.
Click to hide internal directories.