config

package
v0.0.0-...-f85edf5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 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 Environment

type Environment struct {
	PORT              string `env:"default:5000"`
	POSTGRES_USER     string `env:"required"`
	POSTGRES_PASSWORD string `env:"required"`
	POSTGRES_DB       string `env:"required"`
	POSTGRES_HOST     string `env:"required"`
	JWT_SECRET        string `env:"required"`
}

func GetEnvironment

func GetEnvironment() *Environment

Jump to

Keyboard shortcuts

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