config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 6 Imported by: ? 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 parses command-line/environment/config file arguments and make available to other packages.

Index

Constants

This section is empty.

Variables

View Source
var Opts struct {
	Conf         string `long:"conf" description:"esalert config file"`
	AlertFileDir string `long:"alerts" short:"a" required:"true" description:"A yaml file, or directory with yaml files, containing alert definitions"`
	LuaInit      string `long:"lua-init" description:"If set the given lua script file will be executed at the initialization of every lua vm"`
	LuaVMs       int    `` /* 254-byte string literal not displayed */
	SlackWebhook string `long:"slack-webhook" description:"Slack webhook url, required if using any Slack actions"`
	ForceRun     string `` /* 154-byte string literal not displayed */
	LogLevel     string `long:"log-level" default:"info" description:"Adjust the log level. Valid options are: error, warn, info, debug"`
}

Opts configs

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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