Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
IsDefault bool `toml:"-"`
Instance InstanceConfig `toml:"instance"`
Database DatabaseConfig `toml:"database"`
}
func LoadConfig ¶
load config by path (filename), if specified file does not exist, return the default config as hardcoded below.
type DatabaseConfig ¶
Click to show internal directories.
Click to hide internal directories.