package
0.9.2
Repository: https://github.com/intel-go/nff-go.git
Documentation: pkg.go.dev

# Functions

GetPatternsFromFile reads JSON file.
SetupGoRegexps compiles each regexp in pattern array and keep result in pattern.Re.

# Constants

NumFlows = 1 is enough to process packets from file.
TotalNumFlows keeps last flow for dropped packets.

# Structs

HSdb keeps Hyperscan db and scratches.
Pattern describes one regex and action on match (allow/disallow packet).