package
2.263.0
Repository: https://github.com/onsdigital/dp-api-clients-go.git
Documentation: pkg.go.dev

# Functions

HealthcheckFilter creates a map for healthcheck endpoints whitelisting, to be provided to the Whitelist generic function.
Whitelist creates a middleware that executes whitelisted endpoints The provided whitelist is keyed by path, and contains the handler to use and the methods for which the whitelist applies.

# Structs

Allowed provides a list of methods for which the handler should be executed.