fallback

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "fallback"

Variables

This section is empty.

Functions

func Init

func Init(tag string, argsMap map[string]interface{}) (p handler.Plugin, err error)

Types

type Args

type Args struct {
	// Primary exec sequence, must have at least one element.
	Primary []interface{} `yaml:"primary"`
	// Secondary exec sequence, must have at least one element.
	Secondary []interface{} `yaml:"secondary"`

	StatLength uint `yaml:"stat_length"` // default is 10
	Threshold  uint `yaml:"threshold"`   // default is 5
}

Jump to

Keyboard shortcuts

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