action

package
v0.0.0-...-d34b96b 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: 2 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
	RegisterHooks(*nfqueue.Hooks)
}

Action is an interface

type Event

type Event struct {
	Raise bool
	Value event.Level
}

Event stores event info

type Rule

type Rule struct {
	Verdict Verdict
	Event   Event
	Log     bool
}

Rule stores rule information

type RuleSet

type RuleSet struct {
	Positive Rule
	Negative Rule
	OnError  Verdict
}

RuleSet stores information

type Verdict

type Verdict struct {
	Raise bool
	Value nfqueue.Verdict
}

Verdict stores verdict info

Directories

Path Synopsis
nfq

Jump to

Keyboard shortcuts

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