Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Driver string `yaml:"driver"` // postgres, mysql, sqlite
User string `yaml:"user"`
Password string `yaml:"password"`
Name string `yaml:"name"`
Host string `yaml:"host"`
Port int `yaml:"port"`
SSLMode string `yaml:"ssl"`
Timezone string `yaml:"timezone"`
Timeout int `yaml:"timeout"`
MaxOpen int `yaml:"max_open"`
MaxIdle int `yaml:"max_idle"`
Lifetime int `yaml:"lifetime"`
MaxLimit int `yaml:"max_limit"`
}
Click to show internal directories.
Click to hide internal directories.