Documentation ¶
Overview ¶
Package config contains reusable config definitions and parsers for inputs defined via the public/service package. We could eventually consider moving this out into public/service for others to use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncOptsFields ¶
func AsyncOptsFields() []*service.ConfigField
AsyncOptsFields returns a list of config fields with the intended purpose of exposing AsyncReader configuration opts.
func AsyncOptsFromParsed ¶
func AsyncOptsFromParsed(conf *service.ParsedConfig) (opts []func(*input.AsyncReader), err error)
AsyncOptsFromParsed returns a slice of AsyncReader opt funcs from a parsed config, allowing users to customise behaviour such as connection retry back off.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.