Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestID ¶
type RequestID struct {
// Length of standalone ID
Length int `json:"length"`
// Map of additional IDs to set
Additional map[string]int `json:"additional,omitempty"`
}
RequestID implements an HTTP handler that writes a unique request ID to response headers.
func (RequestID) CaddyModule ¶
func (RequestID) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.