Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Debug bool `default:"false" envconfig:"DEBUG"`
Server struct {
Port uint16 `envconfig:"HTTP_PORT" default:"8000"`
Host string `envconfig:"HTTP_HOST" default:"0.0.0.0"`
}
DB struct {
User string `envconfig:"POSTGRES_USER"`
Password string `envconfig:"POSTGRES_PASSWORD"`
Host string `envconfig:"POSTGRES_HOST"`
Port uint16 `envconfig:"POSTGRES_PORT"`
Database string `envconfig:"POSTGRES_DB"`
}
Log struct {
Handler string `envconfig:"LOG_HANDLER" default:"tint"`
}
Auth struct {
PasswordSecret string `envconfig:"AUTH_PASSWORD_SECRET"`
JWTSecret string `envconfig:"AUTH_JWT_SECRET"`
}
YooKassa YooKassaConfig
S3 S3Config
}
type YooKassaConfig ¶
Click to show internal directories.
Click to hide internal directories.