failure

package
v3.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL