Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Middleware creates and returns a MiddlewareFunc that will apply all of the headers that have been passed in. Headers are pre-converted to a slice for faster iteration and use Set() instead of Add() for single-value headers.
Types ¶
type HeaderPair ¶ added in v5.15.2
HeaderPair represents a single header key-value pair for efficient iteration.
Click to show internal directories.
Click to hide internal directories.