config

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

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

Go to latest
Published: May 15, 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 Config

type Config struct {
	DbHost       string `mapstructure:"DATABASE_HOST"`
	DbName       string `mapstructure:"DATABASE_NAME"`
	DbUser       string `mapstructure:"DATABASE_USERNAME"`
	DbPassword   string `mapstructure:"DATABASE_PASSWORD"`
	DbPort       string `mapstructure:"DATABASE_PORT"`
	JwtSecretKey string `mapstucture:"JWT_SECRET_KEY"`
}

func LoadConfig

func LoadConfig() (config Config, err error)

Jump to

Keyboard shortcuts

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