Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigFilename ¶
func GetDebugVar ¶
func GetDebugVar() bool
Types ¶
type Config ¶
type Config struct {
APIKey string `toml:"api_key"`
Database struct {
Host string `toml:"host"`
Port int `toml:"port"`
User string `toml:"user"`
Password string `toml:"password"`
Name string `toml:"name"`
} `toml:"database"`
}
Define struct for config
func LoadConfig ¶
type RouteInjector ¶
Click to show internal directories.
Click to hide internal directories.