Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *pgxpool.Pool
View Source
var JwtKey []byte
View Source
var MailSender email.EmailSender
Functions ¶
func GetEnvOrFatal ¶
func InitPostgres ¶
Types ¶
type PostgresConfig ¶
type PostgresConfig struct {
DB_NAME string
DB_USER string
DB_PASS string
DB_HOST string
DB_PORT string
}
func GetConfig ¶
func GetConfig() PostgresConfig
Click to show internal directories.
Click to hide internal directories.