Versions in this module Expand all Collapse all v0 v0.1.0 Jul 18, 2026 Changes in this version + type Config struct + Patterns []Pattern + Version string + func LoadConfig(path string) (Config, error) + type Filter struct + func New(cfg Config) *Filter + func PassThrough() *Filter + func (f *Filter) Scan(text string) Result + type Match struct + Action string + Name string + PatternID string + Severity string + type Pattern struct + Action string + Description string + ID string + Name string + Regex string + Severity string + type Result struct + BlockedBy string + FilteredText string + Matches []Match + RedactedCount int + Status Status + type Status string + const StatusBlocked + const StatusClean + const StatusRedacted