config

package
v0.0.0-...-ac1f740 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 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 Configurations

type Configurations struct {
	Port       string `json:"port"`
	JWTSectret string `json:"jwt_secret"`
	DBAddress  string `json:"db_address"`
	DBName     string `json:"db_name"`
}

Configuration contains all the config that the appliction needs

func LoadConfig

func LoadConfig(filename ...string) *Configurations

Jump to

Keyboard shortcuts

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