config

package
v0.0.0-...-fd28bdc Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = &appConfig{
	Debug:  genv.Key("APP_DEBUG").Default(false).Bool(),
	Secret: genv.Key("APP_SECRET").String(),
}
View Source
var Mongo = &mongoConfig{
	URI:      genv.Key("MONGO_URI").String(),
	Database: genv.Key("MONGO_DATABASE").Default("spendzer").String(),
	Timeout:  time.Duration(genv.Key("MONGO_TIMEOUT").Default(10).Int()),
}
View Source
var Server = &serverConfig{
	Port: genv.Key("SERVER_PORT").Default(3000).Int(),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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