Documentation
¶
Index ¶
Constants ¶
View Source
const PluginType = "fallback"
Variables ¶
View Source
var (
ErrFailed = errors.New("no valid response from both primary and secondary")
)
Functions ¶
Types ¶
type Args ¶
type Args struct { // Primary exec sequence. Primary string `yaml:"primary"` // Secondary exec sequence. Secondary string `yaml:"secondary"` // Threshold in milliseconds. Default is 500. Threshold int `yaml:"threshold"` // AlwaysStandby: secondary should always stand by in fallback. AlwaysStandby bool `yaml:"always_standby"` }
Click to show internal directories.
Click to hide internal directories.