Documentation ¶
Index ¶
Constants ¶
View Source
const ( APPLICATIONNAME = "minilink" APPLICATIONVERSION = "0.1-dev" )
Variables ¶
View Source
var Config *config.Config
Config stores the application configuration
View Source
var DSClient *datastore.Client
DSClient is a global instance of a datastore client
View Source
var Logger logger.Logger
Logger is a global logger used throughout the application
Functions ¶
func InitConfig ¶
func InitConfig()
InitConfig should be the first initializer that should be called. It reads values from the evironment and builds the configuration settings for the application.
func InitDSClient ¶
InitDSClient initializes the datastore client
func InitLogger ¶
func InitLogger(application, env string)
InitLogger creates a new default logger for the application
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.