Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PARAM_FILE string = "params.yml"
Functions ¶
func ObjectIdToPublicId ¶
Types ¶
type MongoParams ¶
type NanoMsgParams ¶
type NanoMsgParams struct {
NanoMsgUrl string `yaml:"nanomsg_url,omitempty"`
}
type Params ¶
type Params struct {
Port int `yaml:"port,omitempty"`
Host string `yaml:"host,omitempty"`
Mongo *MongoParams `yaml:"mongo,omitempty"`
NSQ *NSQParams `yaml:"nsq,omitempty"`
NanoMsg *NanoMsgParams `yaml:"nanomsg,omitempty"`
Database string `yaml:"database,omitempty"`
MessageQueue string `yaml:"message_queue,omitempty"`
}
func LoadFromYamlData ¶
func LoadFromYamlFile ¶
func (*Params) InsertDefaultValues ¶
func (*Params) UseMongoDb ¶
func (*Params) UseNanomsg ¶
Click to show internal directories.
Click to hide internal directories.