Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Path: "", Tag: "", AsString: pointer.Bool(true), LogKey: "payload", }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string `json:"path,omitempty"` Tag string `json:"tag,omitempty"` AsString *bool `json:"asString,omitempty"` LogKey string `json:"logKey,omitempty"` }
Config can be passed into NewFilter() in order to configure the behavior of the sender.
func (Config) WithDefaults ¶ added in v0.9.0
WithDefaults will set default values
Click to show internal directories.
Click to hide internal directories.