Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
GetConfigDir get the config directory value from a Variables variable value (if it exists) or uses passed in value or default if previous result in blank.
Types ¶
type StartupInfo ¶
StartupInfo provides the startup timer values which are applied to the StartupTimer created at boot.
func GetStartupInfo ¶
func GetStartupInfo(serviceKey string) StartupInfo
GetStartupInfo gets the Service StartupInfo values from an Variables variable value (if it exists) or uses the default values.
type Variables ¶
type Variables struct {
// contains filtered or unexported fields
}
Variables is a receiver that holds Variables and encapsulates toml.Tree-based configuration field overrides. Assumes "_" embedded in Variables variable key separates sub-structs; e.g. foo_bar_baz might refer to
type foo struct { bar struct { baz string } }
func NewVariables ¶
NewVariables constructor reads/stores os.Environ() for use by Variables receiver methods.