Documentation
¶
Overview ¶
Package config handles the configuraion for the BlockOrg node
Package config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfiguration ¶
func LoadConfiguration()
LoadConfiguration Loads the configuration and sets the global variable.
Types ¶
type BlockOrgConfiguration ¶
type BlockOrgConfiguration struct {
StaticPath string
TemplateRoot string
AdminToken string
ManifestoPath string
MongoUserName string
MongoPassword string
MongoServerURL string
EncKey string
AuthKey string
//The items bellow are set by the application itself.
MongoSession *mgo.Session
Router *mux.Router
}
GodGameConfiguration holds the configuration information for the GGE program.
var Config *BlockOrgConfiguration
Config holds the system configuration.
func GetConfigs ¶
func GetConfigs() *BlockOrgConfiguration
GetConfigs returns a configuration struct.
Click to show internal directories.
Click to hide internal directories.