Versions in this module Expand all Collapse all v0 v0.1.1-nightly.202606060822.62e7189 Jun 5, 2026 v0.1.1-nightly.202606050928.887b5b7 Jun 5, 2026 v0.1.1-nightly.202606031041.bfdcdd4 Jun 2, 2026 v0.1.1-nightly.202606021001.5d71430 Jun 2, 2026 v0.1.0 Jun 2, 2026 Changes in this version + const RedactedPlaceholder + const RedactorsDirName + func Bytes(b []byte) []byte + func ConfigureCustomRules(cfg CustomRulesConfig) + func ConfigurePII(cfg PIIConfig) + func JSONLContent(content string) (string, error) + func String(s string) string + type CustomRulesConfig struct + Inline map[string]string + Packs []*Pack + type Finding struct + End int + Secret string + Start int + Type string + Verification Verification + func Detect(s string) []Finding + type PIICategory string + const PIIAddress + const PIIEmail + const PIIPhone + type PIIConfig struct + Categories map[PIICategory]bool + CustomPatterns map[string]string + Enabled bool + type Pack struct + Description string + Name string + Rules []Rule + Version string + func LoadPacks(dir string) ([]*Pack, error) + func ParsePack(data []byte, sourcePath string) (*Pack, error) + type RedactedBytes struct + func AlreadyRedacted(data []byte) RedactedBytes + func JSONLBytes(b []byte) (RedactedBytes, error) + func (r RedactedBytes) Bytes() []byte + func (r RedactedBytes) Len() int + type Rule struct + Description string + ID string + Regex string + Samples []Sample + type Sample struct + Input string + Redacted bool + type Verification int + const Rejected + const Unverified + const Verified + func (v Verification) String() string