Discover Packages
github.com/shipa988/hw_otus_architect
cmd
generator
internal
data
config
package
Version:
v0.0.0-...-1f1360f
Opens a new window with list of versions in this module.
Published: Mar 30, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Log Log `yaml:"log"`
Name string `yaml:"name"`
Env string `yaml:"env"`
API API `yaml:"api"`
DB DB `yaml:"db"`
Port string `yaml:"port"`
}
type DB struct {
Provider string `yaml:"provider"`
Master string `yaml:"master"`
Slaves []string `yaml:"slaves"`
Login string `yaml:"login"`
Password string `yaml:"password"`
Name string `yaml:"name"`
}
type Log struct {
File string `yaml:"file"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.