configs

package
v0.0.0-...-84b6340 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 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 EnvVars

type EnvVars struct {
	MONGODB_URI     string `mapstructure:"MONGODB_URI"`
	MONGODB_NAME    string `mapstructure:"MONGODB_NAME"`
	FRONTEND_URL    string `mapstructure:"FRONTEND_URL"`
	PORT            string `mapstructure:"PORT"`
	JWT_SECRET      string `mapstructure:"JWT_SECRET"`
	STRIPE_KEY      string `mapstructure:"STRIPE_KEY"`
	GIN_MODE        string `mapstructure:"GIN_MODE"`
	FIREBASE_CONFIG string `mapstructure:"FIREBASE_CONFIG"`
	SKIP_WAIT       string `mapstructure:"SKIP_WAIT"`
}

func LoadConfig

func LoadConfig() (config EnvVars, err error)

Jump to

Keyboard shortcuts

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