Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *mongo.Database
DB *mongo.Database
Functions ¶
Types ¶
type TomlConfig ¶
type TomlConfig struct {
Server struct {
Version string `toml:"version"`
Addr string `toml:"addr"`
Development bool `toml:"development"`
} `toml:"server"`
Database struct {
URI string `toml:"uri"`
DB string `toml:"db"`
Timeout int `toml:"timeout"`
} `toml:"database"`
}
TomlConfig struct
var Config TomlConfig
Config TomlConfig
Click to show internal directories.
Click to hide internal directories.