Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormParams ¶
FormParams returns attribute with value represented as form params. Value can be redacted using WithRedacted option.
Types ¶
type Opt ¶
type Opt func(*options)
func WithRedacted ¶
WithRedacted returns option that replaces value with [REDACTED] for the given key. In case of JSON attribute, key is a path to the value to be redacted. Refer to https://github.com/tidwall/gjson/blob/master/SYNTAX.md for path syntax.
Click to show internal directories.
Click to hide internal directories.