Documentation ¶
Overview ¶
The main package of WACE.
Index ¶
- func Analyze(modelsTypeAsString, transactionId, payload string, models []string) error
- func CheckTransaction(transactionID, decisionPlugin string, wafParams map[string]string) (bool, error)
- func CloseTransaction(transactionID string)
- func Init(met metric.Meter)
- func InitTransaction(transactionId string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTransaction ¶
func CheckTransaction(transactionID, decisionPlugin string, wafParams map[string]string) (bool, error)
CheckTransaction checks the result of the analysis of the transaction with the given id and decision plugin
func CloseTransaction ¶
func CloseTransaction(transactionID string)
CloseTransaction closes the transaction with the given id removing the transaction sync model results
func InitTransaction ¶
func InitTransaction(transactionId string)
InitTransaction initializes a transaction with the given id
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package configstore handles the configuration of WACE.
|
Package configstore handles the configuration of WACE. |
Package pluginmanager handles the communication with the model and decision plugins
|
Package pluginmanager handles the communication with the model and decision plugins |
Click to show internal directories.
Click to hide internal directories.