Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Actions = map[string]Initializer{}
Functions ¶
func DecodeConfig ¶
func DecodeConfig(src, dst interface{}) error
func Register ¶
func Register(name string, initFn Initializer)
Types ¶
type Initializer ¶
type Initializer func() Action
type Input ¶ added in v0.17.0
type Input struct {
Event *formatters.EventMsg
Env map[string]interface{}
Vars map[string]interface{}
}
type Option ¶
type Option func(Action)
func WithLogger ¶
func WithTargets ¶
func WithTargets(tcs map[string]*types.TargetConfig) Option
Click to show internal directories.
Click to hide internal directories.