app

package
v0.0.0-...-8c1e015 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const TELEGRAF_MAIN_TEMPLATE_DST_FILE = "telegraf.conf"
View Source
const TELEGRAF_MAIN_TEMPLATE_SRC_FILE = "_telegraf.goconf"

Variables

This section is empty.

Functions

func LoadBackend

func LoadBackend(name string) backend.Backend

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(cfg *config.ConfigSpec) *App

Create new config and populate it from environment

func (*App) ClearConfigFiles

func (app *App) ClearConfigFiles()

remove all configuration files that were created by regex: starting with prefix and ending with extension

func (*App) Run

func (app *App) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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