conf

package
v0.0.0-...-a556b77 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config    = &ConfigT{}
	DebugMode bool
)

Functions

This section is empty.

Types

type ConfigT

type ConfigT struct {
	LogDir    string      `yaml:"log_dir"`
	TaskQueue *TaskQueueT `yaml:"task_queue"`
	Tasks     []*TaskT    `yaml:"tasks"`
}

type TaskQueueT

type TaskQueueT struct {
	MaxWorkers int `yaml:"max_workers"`
	MaxBuffer  int `yaml:"max_buffer"`
}

type TaskT

type TaskT struct {
	Type       string   `yaml:"type"`
	Name       string   `yaml:"name"`
	Args       []string `yaml:"args"`
	Output     string   `yaml:"output"`
	OutputFile string   `yaml:"output_file"`
	Duration   int64    `yaml:"duration"`
}

Jump to

Keyboard shortcuts

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