config

package
v0.0.0-...-b4e36c1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ViperConfig *viper.Viper

ViperConfig viper configuration instance

Functions

func LoadAppConfig

func LoadAppConfig()

func LoadEnv

func LoadEnv()

LoadEnv instantiate viper instance

Types

type AppConfiguration

type AppConfiguration struct {
	App_Name        string
	App_Upload_Path string
	App_Upload_Size int
	App_Env         string
	App_Key         string
	App_Url         string
	App_Port        string
	SECRET          string
}
var AppConfig *AppConfiguration //nolint:gochecknoglobals

Jump to

Keyboard shortcuts

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