config

package
v4.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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