Documentation
¶
Index ¶
- Constants
- type Config
- func (*Config) ConfigFileExists() bool
- func (*Config) ConfigValueIsSet(key string) bool
- func (*Config) GetConfigBoolValue(key string) bool
- func (*Config) GetConfigPath() string
- func (*Config) GetConfigStringValue(key string) string
- func (*Config) LoadNodeConfig() (string, error)
- func (*Config) SetConfigValue(key string, value interface{}) error
Constants ¶
View Source
const (
// LuxDataDirVar is the environment variable for the Lux data directory
LuxDataDirVar = "LUXD_DATA_DIR"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MetricsEnabled bool `json:"metricsEnabled"`
}
func (*Config) ConfigFileExists ¶
func (*Config) ConfigValueIsSet ¶
func (*Config) GetConfigBoolValue ¶
func (*Config) GetConfigPath ¶
GetConfigPath returns the path to the configuration file
func (*Config) GetConfigStringValue ¶
func (*Config) LoadNodeConfig ¶
func (*Config) SetConfigValue ¶
Click to show internal directories.
Click to hide internal directories.