Documentation
¶
Overview ¶
Package strings provides HTTP-specific string helpers for net-layer middleware.
This package contains small helpers used by HTTP middleware and telemetry code, including matching well-known operational endpoints such as health and metrics routes that are typically ignored by auth, limiter, and logging middleware.
Start with `IsIgnorable`.
Index ¶
Constants ¶
View Source
const ( // Empty is an alias for strings.Empty. Empty = strings.Empty // Space is an alias for strings.Space. Space = strings.Space )
Variables ¶
This section is empty.
Functions ¶
func IsIgnorable ¶
IsIgnorable reports whether path should be treated as ignorable by HTTP middleware.
Matching is exact by path segment so only well-known operational endpoints such as `/<service>/healthz` or `/<service>/metrics` are ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.