failure

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2018 License: Apache-2.0 Imports: 6 Imported by: 45

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