Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DataDir string
)
Functions ¶
func InitConfig ¶
func InitConfig() error
Types ¶
type Config ¶
type Config struct {
ConfigBaseDir string
ConfigFileName string
ConfigFilePath string
Loaded bool
ConfigData ConfigData
}
func (*Config) LoadConfigData ¶
func (*Config) SaveConfigData ¶
func (*Config) SetDefaultValues ¶
func (config *Config) SetDefaultValues()
type ConfigData ¶
type ConfigData struct {
Version string `json:"version"`
Flags struct {
DisablePurgeAccountData bool `json:"disablePurgeAccountData"`
}
}
func GetConfigData ¶
func GetConfigData() (*ConfigData, error)
Click to show internal directories.
Click to hide internal directories.