Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.3"
Functions ¶
func LoadConfig ¶
func LoadConfig(filepath string)
Types ¶
type Config ¶
type Config struct { DBName string `json:"db_name"` DBPath string `json:"db_path"` MigrationsPath string `json:"migrations_prefix"` HostAddress string `json:"host_address"` HostPort string `json:"host_port"` HasProxy bool `json:"has_proxy"` }
Config represents the configuration information.
var Conf Config
Conf contains the initialized configuration struct
Click to show internal directories.
Click to hide internal directories.