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"`
Config map[string]interface{} `yaml:",inline"` //to keep the datasource-specific configuration directives
}
Click to show internal directories.
Click to hide internal directories.