env

package
v0.0.0-...-161dc30 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envs

type Envs struct {
	SecretKey       string `env:"SECRET_KEY" required:"true"`
	AdminServerPort int    `env:"ADMIN_SERVER_PORT"`
	AuthServerPort  int    `env:"AUTH_SERVER_PORT"`
}

func GetEnvsOrDie

func GetEnvsOrDie() *Envs

Jump to

Keyboard shortcuts

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