Documentation ¶
Overview ¶
Package failure provides a verifier that always fails, adding a given message to the multierror log. This can be used to turn any filter in to a defacto verifier, by wrapping it in a filter and thus causing a verifier failure whenever a request passes the filter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVerifier ¶
func NewVerifier(message string) (verify.RequestVerifier, error)
NewVerifier returns a new failing verifier.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.