configuration

package
v1.4.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 1 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

View Source
var CAT_MODE = "cat"
View Source
var SERVER_MODE = "server" // No difference with tail, just a bit more verbose
View Source
var TAIL_MODE = "tail"

Functions

This section is empty.

Types

type DataSourceCommonCfg

type DataSourceCommonCfg struct {
	Mode           string                 `yaml:"mode,omitempty"`
	Labels         map[string]string      `yaml:"labels,omitempty"`
	LogLevel       *log.Level             `yaml:"log_level,omitempty"`
	Source         string                 `yaml:"source,omitempty"`
	Name           string                 `yaml:"name,omitempty"`
	UseTimeMachine bool                   `yaml:"use_time_machine,omitempty"`
	Config         map[string]interface{} `yaml:",inline"` //to keep the datasource-specific configuration directives
}

Jump to

Keyboard shortcuts

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