Documentation
¶
Index ¶
Constants ¶
View Source
const ( PIITypeEmail = PIIType(tokenizer.TokenEmail) PIITypeIPv4 = PIIType(tokenizer.TokenIPv4) PIITypeURL = PIIType(tokenizer.TokenURL) PIITypeFQDN = PIIType(tokenizer.TokenFQDN) PIITypePhone = PIIType(tokenizer.TokenPhone) PIITypeSSN = PIIType(tokenizer.TokenSSN) PIITypeCCN = PIIType(tokenizer.TokenCCN) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectorImpl ¶
type DetectorImpl struct {
// contains filtered or unexported fields
}
func NewDetector ¶
func NewDetector(opts ...Option) *DetectorImpl
type Option ¶
type Option func(*DetectorImpl)
func WithDetectionStats ¶ added in v0.5.6
func WithDetectionStats(stats telemetry.DeferrableCounter) Option
func WithPIITypes ¶ added in v0.5.0
func WithRedactedReplacement ¶ added in v0.5.0
func WithRedactionStats ¶ added in v0.5.6
func WithRedactionStats(stats telemetry.DeferrableCounter) Option
Click to show internal directories.
Click to hide internal directories.