domain

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseConfig

type DatabaseConfig struct {
	// Bind Address
	Engine string `config:"DB_ENGINE" default:"POSTGRES"`
}

type PostgresConfig

type PostgresConfig struct {
	Address string `config:"DB_ADDRESS" default:"localhost"`
	Port    int    `config:"DB_PORT" default:"5432"`

	Username string        `config:"DB_USERNAME" default:"postgres"`
	Password shared.Secret `config:"DB_PASSWORD" default:"postgres"`
	Database string        `config:"DB_DATABASE" default:"postgres"`
}

Jump to

Keyboard shortcuts

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