Documentation
¶
Index ¶
- Variables
- func FindOneQuery(filter, projection interface{}, collection *mongo.Collection, checkvar bool) (map[string]string, bool)
- func InsertOneQuery(todo Rule, collection *mongo.Collection) error
- func RetrieveRule(RuleName []Rule, checkvar bool) (map[string]string, bool)
- type CustomRules
- type Rule
Constants ¶
This section is empty.
Variables ¶
View Source
var LogDB = client.Database("WAF").Collection("RequestLogs")
View Source
var RuleDB = client.Database("WAF").Collection("Testing")
Functions ¶
func FindOneQuery ¶
func InsertOneQuery ¶
func InsertOneQuery(todo Rule, collection *mongo.Collection) error
Types ¶
type CustomRules ¶
Click to show internal directories.
Click to hide internal directories.