Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fallbacker ¶
type Fallbacker interface { plugin.Plugin // FallBack returns nil when finishing a successful process and returns a new Fallbacker when failure. FallBack(batch event.BatchEvents, forward api.ForwardFunc) bool }
Fallbacker is a plugin interface, that defines some fallback strategies.
func GetFallbacker ¶
func GetFallbacker(config plugin.Config) Fallbacker
GetFallbacker gets an initialized client plugin.
Click to show internal directories.
Click to hide internal directories.