package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Aug 10, 2023
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 App struct {
BaseUrl string `env:"BASE_URL"`
BasePort string `env:"BASE_PORT"`
BaseWebPort string `env:"WEB_BASE_PORT"`
}
type Email struct {
Email string `env:"CONFIG_AUTH_EMAIL"`
Password string `env:"CONFIG_AUTH_PASSWORD"`
}
type Grpc struct {
GrpcPort string `env:"GRPC_PORT"`
}
type Postgres struct {
Host string `env:"POSTGRES_HOST"`
Port string `env:"POSTGRES_PORT"`
DbName string `env:"POSTGRES_DBNAME"`
User string `env:"POSTGRES_USER"`
Password string `env:"POSTGRES_PASSWORD"`
SSLMode string `env:"POSTGRES_SSLMODE"`
}
type Session struct {
AuthSessionId string `env:"AUTH_SESSION"`
}
type Smtp struct {
Host string `env:"CONFIG_SMTP_HOST"`
Post string `env:"CONFIG_SMTP_PORT"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.