package
Version:
v0.0.0-...-410c955
Opens a new window with list of versions in this module.
Published: Jan 14, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Listen string `yaml:"listen"`
Postgres Postgres `yaml:"postgres"`
Orm Orm `yaml:"orm"`
SwaggerDir string ``
DevEnv bool `yaml:"dev_env"`
}
type Orm struct {
Debug bool `yaml:"debug"`
}
type Postgres struct {
Addr string `yaml:"addr"`
User string `yaml:"user"`
Password string `yaml:"password"`
Database string `yaml:"database"`
MinIdleConns int `yaml:"min_idle_conns"`
PoolSize int `yaml:"pool_size"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.