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 InitConfig ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.