conf

package
v0.0.0-...-d52619c Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: LGPL-2.1 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Listen     string `yaml:"listen"`
	Prometheus bool   `yaml:"prometheus"`
}

type Config

type Config struct {
	Path    string
	Input   map[string]map[string]interface{}   `yaml:"input"`
	Filters []map[string]map[string]interface{} `yaml:"filters"`
	Output  map[string]map[string]interface{}   `yaml:"output"`
	Admin   *Admin                              `yaml:"admin"`
}

func Read

func Read() (*Config, error)

Jump to

Keyboard shortcuts

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