package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: May 27, 2016
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config handles basic configuration store for the GUI only.
DFSS configuration is stored in the HOME/.dfss/config.json file
GetHomeDir is a helper to get the .dfss store directory
Load loads the configuration file into memory.
If the file does not exist, the configuration will holds default values.
Save stores the current configuration object from memory.
type Config struct {
Email string `json:"email"`
Platform string `json:"platform"`
Timeout time.Duration `json:"timeout"`
}
Config is the structure that will be persisted in the configuration file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.