Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefault ¶
func GetDefault() string
Types ¶
type Configs ¶
type Configs struct {
Server Server `yaml:"server"`
Database Database `yaml:"database"`
Logger Logger `yaml:"logger"`
}
func (*Configs) SetDefault ¶
func (s *Configs) SetDefault()
type Database ¶
type Database struct {
User string `yaml:"user"`
Paddword string `yaml:"password"`
Database string `yaml:"database"`
Host string `yaml:"host"`
Port int `yaml:"port"`
}
func (*Database) SetDefault ¶
func (d *Database) SetDefault()
Click to show internal directories.
Click to hide internal directories.