database

package
v0.0.0-...-e87e9a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JwtKey []byte
View Source
var MailSender email.EmailSender

Functions

func GetEnvOrFatal

func GetEnvOrFatal(key string) string

func InitPostgres

func InitPostgres() (*pgxpool.Pool, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL