config

package
v0.0.0-...-5e1585b Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LemonDefinition

type LemonDefinition struct {
	Identifier string
	Timeout    string   `yaml:"timeout"`
	Type       string   `yaml:"type"`
	Cmd        string   `yaml:"cmd"`
	Signal     int      `yaml:"signal"`
	OnStart    []string `yaml:"on_start"`
	OnStop     []string `yaml:"on_stop"`
}

type LemonadeConfig

type LemonadeConfig struct {
	Output           string
	LemonDefinitions map[string]*LemonDefinition `yaml:"lemons"`
}

func LoadLemonadeConfig

func LoadLemonadeConfig(path string) *LemonadeConfig

Jump to

Keyboard shortcuts

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