action

package
v0.0.0-...-0a64cdf Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	GetID() string
	Plugins() []string
}

Action is an interface

type Event

type Event struct {
	Raise bool
	Value event.Level
}

Event stores event info

type Finder

type Finder interface {
	Action(string) (Action, bool)
	Actions() []Action
	ActionsByPlugin(string) []Action
}

Finder interface for actions

type Rule

type Rule struct {
	Event Event
	Tag   string
	Log   bool
}

Rule stores rule information

type RuleSet

type RuleSet struct {
	Positive Rule
	Negative Rule
}

RuleSet stores information

Jump to

Keyboard shortcuts

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