Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = &ConfigData{}
Functions ¶
Types ¶
type ConfigData ¶
type ConfigData struct { RootPath string `json:"root_path"` MongoUri string `json:"mongo_uri"` ServerName string `json:"server_name"` ServerPort int `json:"server_port"` ServerHost string `json:"server_host"` SigKeyName string `json:"sig_key_name"` WebNodeId string `json:"web_node_id"` StorageNodeId string `json:"storage_node_id"` BuilderNodeId string `json:"builder_node_id"` // contains filtered or unexported fields }
func (*ConfigData) Load ¶
func (c *ConfigData) Load(path string) (err error)
func (*ConfigData) Save ¶
func (c *ConfigData) Save() (err error)
Click to show internal directories.
Click to hide internal directories.