HashFilter is a Caddy log field filter that replaces the field with the initial 4 bytes of the SHA-256 hash of the content. Operates on string fields, or on arrays of strings where each string is hashed.
| 84 | // on string fields, or on arrays of strings |
| 85 | // where each string is hashed. |
| 86 | type HashFilter struct{} |
| 87 | |
| 88 | // CaddyModule returns the Caddy module information. |
| 89 | func (HashFilter) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected