config

package
v0.0.0-...-7c40456 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 2 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 {
	App struct {
		Env         Environment
		Domain      string
		Port        string
		MetricsPort string
	}

	Database struct {
		Name     string
		Endpoint string
		SSLMode  string
		Username string
		Password string
	}

	AWS struct {
		AccessKeyID    string
		SecretAcessKey string
		Region         string
	}
}

func New

func New() *Config

type Environment

type Environment string
const (
	Local Environment = "local"
	Prod  Environment = "prod"
)

func (Environment) IsValid

func (e Environment) IsValid() bool

Jump to

Keyboard shortcuts

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