env

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	AppEnv     string `env:"APP_ENV"`
	LogLevel   string `env:"LOG_LEVEL"`
	DbUsername string `env:"DB_USERNAME"`
	DbPassword string `env:"DB_PASSWORD"`
	DbHost     string `env:"DB_HOST"`
	DbPort     string `env:"DB_PORT"`
	DbIdleConn string `env:"DB_IDLE_CONN"`
	DbMaxConn  string `env:"DB_MAX_CONN"`
	DbName     string `env:"DB_NAME"`
}

func GetEnvConfig

func GetEnvConfig() *Configuration

Jump to

Keyboard shortcuts

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