conf

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Template Type
	PONGO2   = "PONGO2"
	TEMPLATE = "TEMPLATE"

	// Bindata
	BINDATA = "BINDATA"

	// File
	FILE = "FILE"

	// Redis
	REDIS = "REDIS"

	// Memcached
	MEMCACHED = "MEMCACHED"

	// Cookie
	COOKIE = "COOKIE"

	// In Memory
	IN_MEMORY = "IN_MEMARY"
)

Variables

View Source
var (
	Conf config // holds the global app config.

)
View Source
var (
	EcConf echoConfig // holds the global app config.

)

Functions

func GetLogLvl

func GetLogLvl() log.Lvl

func InitConfig

func InitConfig(configFile string) error

initConfig initializes the app configuration by first setting defaults, then overriding settings from the app config file, then overriding It returns an error if any.

func InitEchoConfig

func InitEchoConfig(configFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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