config

package
v4.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL