processor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDNS

func NewDNS(data map[string]string) (p.Processor, error)

NewDNS validates and returns a new DNS processor

func NewEmpty added in v0.0.11

func NewEmpty(data map[string]string) (p.Processor, error)

NewEmpty returns an empty processor (for testing)

func NewExec added in v0.0.9

func NewExec(data map[string]string) (p.Processor, error)

NewExec validates and returns a new exec processor

func NewHTTP

func NewHTTP(data map[string]string) (p.Processor, error)

NewHTTP validates and returns a new HTTP processor

Types

type DNS

type DNS struct {
	// contains filtered or unexported fields
}

DNS processor Check that the domain can be resolved with a specified resolver

func (*DNS) Process

func (d *DNS) Process() (p.State, string)

Process the HTTP processor

type Empty added in v0.0.11

type Empty struct {
}

Empty processor

func (*Empty) Process added in v0.0.11

func (e *Empty) Process() (p.State, string)

Process the empty processor by doing nothing

type Exec added in v0.0.9

type Exec struct {
	// contains filtered or unexported fields
}

Exec processor

func (*Exec) Process added in v0.0.9

func (e *Exec) Process() (p.State, string)

Process the exec processor

type HTTP

type HTTP struct {
	// contains filtered or unexported fields
}

HTTP processor Check the status code for an HTTP page (2xx or 3xx)

func (*HTTP) Process

func (h *HTTP) Process() (p.State, string)

Process the HTTP processor

Jump to

Keyboard shortcuts

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