MCPcopy Create free account
hub / github.com/astercloud/aster / PIIRedactor

Struct PIIRedactor

pkg/security/redaction.go:15–18  ·  view source on GitHub ↗

PIIRedactor PII脱敏器

Source from the content-addressed store, hash-verified

13
14// PIIRedactor PII脱敏器
15type PIIRedactor struct {
16 detector PIIDetector
17 replacer map[PIIType]string
18}
19
20// NewPIIRedactor 创建PII脱敏器
21func NewPIIRedactor(detector PIIDetector) *PIIRedactor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected