Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMongoConnect ¶
func SetMongoConnect(fn MongoConnectFn)
Types ¶
type Mongo ¶
type Mongo struct { Host string `toml:"host,omitempty" json:"host,omitempty"` Port string `toml:"port,omitempty" json:"port,omitempty"` User string `toml:"user,omitempty" json:"user,omitempty"` Password string `toml:"password,omitempty" json:"password,omitempty"` Database string `toml:"database,omitempty" json:"database,omitempty"` }
type MongoConnectFn ¶
Click to show internal directories.
Click to hide internal directories.