Discover Packages
github.com/cneill/mon
internal
config
package
Version:
v0.0.11
Opens a new window with list of versions in this module.
Published: Feb 25, 2026
License: BSD-3-Clause
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
Documentation
¶
func DefaultConfigDir() string
DefaultConfigDir returns $HOME/.config/aimon
func DefaultConfigPath() string
DefaultConfigPath returns the default configuration file path ($HOME/.config/aimon/config.json)
type Config struct {
Audio *audio .Config `json:"audio"`
}
Load reads and parses the configuration file. If no path is supplied, or if the provided path doesn't exist and there
isn't a config in the default path, write one.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.