operators

package
v0.0.0-...-bdd85ba Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOperatorEq

func NewOperatorEq(arg string) (modsecurity.Operator, error)

func NewOperatorGe

func NewOperatorGe(arg string) (modsecurity.Operator, error)

func NewOperatorGt

func NewOperatorGt(arg string) (modsecurity.Operator, error)

func NewOperatorLe

func NewOperatorLe(arg string) (modsecurity.Operator, error)

func NewOperatorLt

func NewOperatorLt(arg string) (modsecurity.Operator, error)

func NewOperatorRx

func NewOperatorRx(re string) (modsecurity.Operator, error)

Types

type OperatorCompare

type OperatorCompare struct {
	// contains filtered or unexported fields
}

func (*OperatorCompare) Args

func (o *OperatorCompare) Args() string

func (*OperatorCompare) Match

func (*OperatorCompare) Name

func (o *OperatorCompare) Name() string

type OperatorRx

type OperatorRx struct {
	// contains filtered or unexported fields
}

func (*OperatorRx) Args

func (o *OperatorRx) Args() string

func (*OperatorRx) Match

func (o *OperatorRx) Match(tr *modsecurity.Transaction, s string) bool

func (*OperatorRx) Name

func (o *OperatorRx) Name() string

Jump to

Keyboard shortcuts

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