Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSensitiveKeys ¶ added in v1.9.2
func AddSensitiveKeys(keys []string)
AddSensitiveKeys registers additional context keys that should be redacted from JSON responses. Keys are matched case-insensitively.
Types ¶
type Context ¶
func (Context) MarshalJSON ¶ added in v1.9.2
MarshalJSON redacts sensitive fields for API responses. Internal helpers (String, Unmarshal) marshal the underlying map so plugins and DB storage still see real secrets.
func (*Context) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.