Versions in this module Expand all Collapse all v2 v2.1.1 Apr 19, 2026 v2.1.0 Feb 16, 2026 v2.0.0 Jan 15, 2026 Changes in this version + func CorpusFactory(t corpus.Type, corpusLocalPath string) (corpus.Corpus, error) + func PayloadFactory(t corpus.Type) (corpus.Payload, error) + func RunQuantitativeTests(params Params, out *output.Output) error + type LocalEngine interface + Create func(prefix string, paranoia int) LocalEngine + CrsCall func(payload string) map[int]RuleMatch + type Params struct + Corpus corpus.Type + CorpusLang string + CorpusLocalPath string + CorpusSize string + CorpusSource string + CorpusYear string + Directory string + Fast int + Lines int + MaxConcurrency int + Number int + ParanoiaLevel int + Payload string + Rule int + type QuantitativeRunStats struct + func NewQuantitativeStats() *QuantitativeRunStats + func (s *QuantitativeRunStats) Count() int + func (s *QuantitativeRunStats) FalsePositives() int + func (s *QuantitativeRunStats) MarshalJSON() ([]byte, error) + func (s *QuantitativeRunStats) SetTotalTime(totalTime time.Duration) + func (s *QuantitativeRunStats) Skipped() int + func (s *QuantitativeRunStats) TotalTime() time.Duration + type RuleMatch struct + MatchData string + ParanoiaLevel int + type RuleStats struct + FalsePositives int + ParanoiaLevel int Other modules containing this package github.com/coreruleset/go-ftw