Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateDefaultConfig ¶
func CreateDefaultConfig() error
func GetConfigDir ¶
func GetConfigPath ¶
func GetHomeDir ¶
Types ¶
type Config ¶
type Config struct { Server Server `toml:"server" json:"server"` General General `toml:"general" json:"general"` }
func DefaultConfig ¶
func DefaultConfig() Config
func LoadConfig ¶
func (Config) WriteConfig ¶
Click to show internal directories.
Click to hide internal directories.