Documentation
¶
Index ¶
- type ValueTag
- func (vt *ValueTag) Apply(evs ...*formatters.EventMsg) []*formatters.EventMsg
- func (vt *ValueTag) Init(cfg interface{}, opts ...formatters.Option) error
- func (vt *ValueTag) WithActions(act map[string]map[string]interface{})
- func (vt *ValueTag) WithLogger(l *log.Logger)
- func (vt *ValueTag) WithTargets(tcs map[string]*types.TargetConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValueTag ¶
type ValueTag struct { TagName string `mapstructure:"tag-name,omitempty" json:"tag-name,omitempty"` ValueName string `mapstructure:"value-name,omitempty" json:"value-name,omitempty"` Consume bool `mapstructure:"consume,omitempty" json:"consume,omitempty"` Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*ValueTag) Apply ¶
func (vt *ValueTag) Apply(evs ...*formatters.EventMsg) []*formatters.EventMsg
func (*ValueTag) WithActions ¶
func (*ValueTag) WithLogger ¶
func (*ValueTag) WithTargets ¶
func (vt *ValueTag) WithTargets(tcs map[string]*types.TargetConfig)
Click to show internal directories.
Click to hide internal directories.