config

package
v0.5.4-0...-121c8a9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// UsrDir is the path defined during build (Makefile) i.e. /usr/share/defaults/usysconf.d
	UsrDir string
	// SysDir is the path defined during build (Makefile) i.e. /etc/usysconf.d
	SysDir string
)

Functions

func Load

func Load(path string) (triggers.Map, error)

Load reads in all of the trigger files in a directory.

func LoadAll

func LoadAll() (triggers.Map, error)

LoadAll will check the system, user, and home directories, in that order, for a configuration file that has the passed name parameter, without the extension and will create a config with the specified valus.

Types

This section is empty.

Jump to

Keyboard shortcuts

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