actions

package
v3.0.0-...-6323aa8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAction

func GetAction(name string) (coraza.RuleAction, error)

GetAction returns an unwrapped RuleAction from the actionmap based on the name If the action does not exist it returns an error

func RegisterPlugin

func RegisterPlugin(name string, a func() coraza.RuleAction)

RegisterPlugin registers a new RuleAction It can be used also for plugins. If you register an action with an existing name, it will be overwritten.

Types

This section is empty.

Jump to

Keyboard shortcuts

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