package
Version:
v0.0.0-...-0575462
Opens a new window with list of versions in this module.
Published: Jan 12, 2024
License: Apache-2.0
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 Auth struct {
JWTSecret string `json:"jwtSecret"`
PasswordPrefix string `json:"passwordPrefix"`
}
type Config struct {
Postgres Postgres `json:"postgres"`
Gin Gin `json:"gin"`
Logger Logger `json:"logger"`
Auth Auth `json:"auth"`
}
type Gin struct {
Address string `json:"address"`
Port string `json:"port"`
IsTLS bool `json:"isTls"`
CertificateFile string `json:"certificateFile"`
KeyFile string `json:"keyFile"`
}
type Logger struct {
Level string `json:"level"`
Path string `json:"path"`
FileName string `json:"fileName"`
}
type Postgres struct {
Host string `json:"host"`
Port string `json:"port"`
User string `json:"user"`
Password string `json:"password"`
Database string `json:"database"`
TimeZone string `json:"timezone"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.