Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSensitiveFields ¶
func DefaultSensitiveFields() []string
func DefaultSensitiveFieldsMap ¶
DefaultSensitiveFieldsMap provides a cached map version of DefaultSensitiveFields for efficient lookup operations. All field names are lowercase for case-insensitive matching. The map is initialized only once.
func IsSensitiveField ¶
IsSensitiveField checks if a field name is considered sensitive based on the default sensitive fields list. The check is case-insensitive. Short tokens (like "key", "auth") use exact token matching to avoid false positives, while longer patterns use word-boundary matching.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.