Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { Request *http.Request Response *http.Response RequestBodyProcessor bodyprocessor.IBodyProcessor ResponseBodyProcessor bodyprocessor.IBodyProcessor // contains filtered or unexported fields }
Transaction Main model for request response examine
func NewTransaction ¶
func NewTransaction(r *http.Request) *Transaction
NewTransaction Initiates a new request variable object
func (*Transaction) Execute ¶
func (t *Transaction) Execute(rule *models.Rule) *matches.MatchResult
Execute Executes transaction for rule
type TransactionData ¶
type TransactionData struct {
// contains filtered or unexported fields
}
TransactionData Transaction model
type TransactionExecuterModel ¶
type TransactionExecuterModel struct {
// contains filtered or unexported fields
}
TransactionExecuterModel Executer model
type TransactionMap ¶
type TransactionMap struct {
// contains filtered or unexported fields
}
TransactionMap variable map model
var TransactionMaps *TransactionMap = &TransactionMap{make(map[string]*TransactionData)}
TransactionMaps global map variable object
func (*TransactionMap) Get ¶
func (tMap *TransactionMap) Get(key string) *TransactionData
Get the data in transaction data
Source Files ¶
- args.go
- args_combined_size.go
- args_names.go
- auth_type.go
- duration.go
- env.go
- files.go
- files_combined_size.go
- files_names.go
- files_sizes.go
- files_tmp_content.go
- files_tmpnames.go
- full_request.go
- geo.go
- highest_severity.go
- inbound_data_error.go
- ip.go
- matched_var.go
- matched_vars.go
- multipart_crlf_lf_lines.go
- query_string.go
- remote_addr.go
- reqbody_error.go
- reqbody_processor.go
- request_body.go
- request_body_length.go
- request_body_type.go
- request_cookies.go
- request_cookies_names.go
- request_filename.go
- request_headers.go
- request_headers_names.go
- request_line.go
- request_method.go
- request_uri.go
- response_body.go
- response_body_length.go
- response_status.go
- transaction.go
- tx.go
- unique_id.go
- xml.go
Click to show internal directories.
Click to hide internal directories.