plugins

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomActions = sync.Map{}
View Source
var CustomOperators = sync.Map{}
View Source
var CustomTransformations = sync.Map{}

Functions

func RegisterAction

func RegisterAction(name string, action PluginActionWrapper)

func RegisterOperator

func RegisterOperator(name string, operator PluginOperatorWrapper)

func RegisterTransformation

func RegisterTransformation(name string, transformation transformations.Transformation)

Types

type PluginActionWrapper

type PluginActionWrapper = func() coraza.RuleAction

type PluginOperatorWrapper

type PluginOperatorWrapper = func() coraza.Operator

Jump to

Keyboard shortcuts

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