rule

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator interface {
	Name() string
	Spec() string
	Validate(body string, resp *http.Response) error
}

Validator interface of a rule validator

func CreateValidatorPipeline

func CreateValidatorPipeline(rules []config.Rule) ([]Validator, error)

CreateValidatorPipeline create a pipeline of rule validator regarding the definition

Jump to

Keyboard shortcuts

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