Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DataFileCaches map[string]*DataFileCache
DataFileCaches Global *.data files caching variable
View Source
var RulesAndDatasPath string = "./crs/"
RulesAndDatasPath static rules path
View Source
var UnicodeErrorCharactersMissing int = -1
UnicodeErrorCharactersMissing ...
View Source
var UnicodeErrorDecodingError int = -5
UnicodeErrorDecodingError ...
View Source
var UnicodeErrorInvalidEncoding int = -2
UnicodeErrorInvalidEncoding ...
View Source
var UnicodeErrorOverlongCharacter int = -3
UnicodeErrorOverlongCharacter ...
View Source
var UnicodeErrorRestrictedCharacter int = -4
UnicodeErrorRestrictedCharacter ...
Functions ¶
This section is empty.
Types ¶
type DataFileCache ¶
DataFileCache *.data files caching model
type OperatorMap ¶
type OperatorMap struct {
// contains filtered or unexported fields
}
OperatorMap Map fn handler struct
var OperatorMaps *OperatorMap = &OperatorMap{make(map[string]func(interface{}, interface{}) bool)}
OperatorMaps Global OperatorFuncs
func (*OperatorMap) Get ¶
func (ops *OperatorMap) Get(key string) func(interface{}, interface{}) bool
Get returns the operator fn with given key
Source Files ¶
- begins_with.go
- contains.go
- contains_word.go
- data_file_cache.go
- detect_sqli.go
- detect_xss.go
- ends_with.go
- eq.go
- fuzzy_hash.go
- ge.go
- geolookup.go
- gt.go
- inspect_file.go
- ip_match.go
- ip_match_from_file.go
- le.go
- lt.go
- no_match.go
- operator_map.go
- pm.go
- pm_from_file.go
- rbl.go
- rsub.go
- rx.go
- str_eq.go
- str_match.go
- unconditional_match.go
- validate_byte_range.go
- validate_dtd.go
- validate_hash.go
- validate_schema.go
- validate_url_encoding.go
- validate_utf8_encoding.go
- verify_cc.go
- verify_cpf.go
- verify_ssn.go
- within.go
Click to show internal directories.
Click to hide internal directories.