config

package
v0.0.0-...-86000b4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(r io.Reader) (map[string]Device, error)

func ParseFile

func ParseFile(file string) (map[string]Device, error)

Types

type Command

type Command struct {
	Name string
	Args []string
}

type Device

type Device struct {
	Name string
	Time time.Duration
	Cmd  Command
}

Jump to

Keyboard shortcuts

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