config

package
v0.0.0-...-a841890 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2015 License: BSD-2-Clause Imports: 3 Imported by: 2

Documentation

Overview

Package config maintains the global configuration required to run JChecker. Configurations can be set on the command line or in a config file.

Index

Constants

View Source
const (
	DEFAULT_LOG_LEVEL = log.InfoLevel

	DEFAULT_COMMAND_CSV_CONFIG_FILE = "jchecker_command_config.csv"
	COMMAND_CSV_CONFIG_LOPT         = "command-config"
	COMMAND_CSV_CONFIG_OPT          = "c"
	COMMAND_CSV_CONFIG_DESCRIPTION  = "Location of the file with CSV commands."
)

Default options

Variables

This section is empty.

Functions

func Execute

func Execute()

Get the config options

Types

type JCheckerConfig

type JCheckerConfig struct {
	CommandConfigCSVFile string
}

Contains all config options for JChecker

func GetConfig

func GetConfig() JCheckerConfig

Jump to

Keyboard shortcuts

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