Documentation
¶
Overview ¶
Package root provides shared resources to the whole application.
In particular, this package initialize IoC with binding for external packages. This package can be imported by all other application specific packages (main/* and mid/*). Therefore, it must not import any application specific package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BaseDir string
BaseDir is the path in which the configuration file has been found.
var Configured = false
Configured indicates whether the configuration file has successfully been read.
var IoC = ioc.New()
IoC is the root locator for the application. Application packages providing services must Bind to it in their init function.
Functions ¶
func PasswdHash ¶ added in v0.1.5
PasswdHash provides the hash function used for passwords.
Types ¶
This section is empty.