package
Version:
v0.0.0-...-b4e7280
Opens a new window with list of versions in this module.
Published: Aug 20, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
DB DBConfig `toml:"database"`
}
Config represents application configuration.
NewConfig return configuration struct.
type DBConfig struct {
User string `toml:"user"`
Password string
Host string `toml:"host"`
Port int `toml:"port"`
Name string `toml:"name"`
}
DBConfig represents database connection configuration information.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.