config

package
v0.0.0-...-9e4203f Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ENV               string
	SECRET_KEY        string
	SERVER_PORT       string
	POSTGRES_DB       string
	POSTGRES_HOST     string
	POSTGRES_PORT     string
	POSTGRES_USER     string
	POSTGRES_PASSWORD string
	USER_TABLE        string
	ROLE_TABLE        string
	USER_ROLE_TABLE   string
	DEBUG             bool
	TEST              bool
}

func NewConfig

func NewConfig(logger ports.LoggerService) (*Config, error)

Jump to

Keyboard shortcuts

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