failure

package
v3.4.7 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 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