package
Version:
v0.0.0-...-b0ec221
Opens a new window with list of versions in this module.
Published: Aug 11, 2021
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
¶
type Config struct {
Srv Server `yaml:"server"`
Pg Postgres `yaml:"postgres"`
Log Logrus `yaml:"logrus"`
JWT JWT `yaml:"jwt"`
}
type Logrus struct {
LogLevel string `yaml:"log_level"`
}
type Postgres struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
DBName string `yaml:"dbname"`
SSLMode string `yaml:"sslmode"`
}
type Server struct {
BindAddr string `yaml:"bind_addr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.