package
Version:
v0.0.0-...-a0612fc
Opens a new window with list of versions in this module.
Published: Mar 10, 2019
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
¶
Config represents the structure of the yaml file
App Config factory takes a path to a yaml file and produces a parsed Config
type DBInfo struct {
UserName string `yaml:"user_name"`
Password string `yaml:"password"`
Url string `yaml:"url"`
Port int16 `yaml:"port"`
}
type ZapLogInfos struct {
LogsPath string `yaml:"logsPath"`
ConsoleFileOut string `yaml:"consoleFileOut"`
ConsoleFileErr string `yaml:"consoleFileErr"`
JsonFileOut string `yaml:"jsonFileOut"`
JsonFileErr string `yaml:"jsonFileErr"`
}
Zap details for zap
Source Files
¶
Click to show internal directories.
Click to hide internal directories.