cmd

package
v0.0.0-...-72e79e1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOG_DEBUG = iota
	LOG_VERBOSE
	LOG_DISCARD
)

Variables

View Source
var DEBUG_PREFIX = []byte("Debug: ")

Functions

func GenerateYaml

func GenerateYaml(output io.Writer)

func Parse

func Parse(configPath string) error

func PrintDefaults

func PrintDefaults()

func SetLogLevel

func SetLogLevel(level int)

Types

type NotDebugWriter

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

func NewNotDebugWriter

func NewNotDebugWriter(writer io.Writer) *NotDebugWriter

func (*NotDebugWriter) Write

func (wr *NotDebugWriter) Write(p []byte) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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