package
Version:
v1.8.2
Opens a new window with list of versions in this module.
Published: Mar 22, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Name string `env:"APP_NAME,required"`
Version string `env:"APP_VERSION,required"`
}
App -.
Config -.
NewConfig returns app config.
type HTTP struct {
Port string `env:"HTTP_PORT,required"`
}
HTTP -.
type Log struct {
Level string `env:"LOG_LEVEL,required"`
}
Log -.
type PG struct {
PoolMax int `env:"PG_POOL_MAX,required"`
URL string `env:"PG_URL,required"`
}
PG -.
type RMQ struct {
ServerExchange string `env:"RMQ_RPC_SERVER,required"`
ClientExchange string `env:"RMQ_RPC_CLIENT,required"`
URL string `env:"RMQ_URL,required"`
}
RMQ -.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.