Documentation ¶
Index ¶
- Constants
- func ReadMgoSettingFromEnv()
- type Db
- type FileStore
- type MgoError
- type MongoDb
- func (m *MongoDb) Delete(collectionName string, query interface{}) bool
- func (m *MongoDb) Find(collectionName string, query interface{}) *mgo.Iter
- func (m *MongoDb) Init(dbName string, collectionNames ...string)
- func (m *MongoDb) Save(collectionName string, data interface{}) bool
- func (m *MongoDb) Update(collectionName string, query interface{}, data interface{}) bool
Constants ¶
View Source
const ( MGO_DB_NAME = "gameServer" UserInfo_COLLECTION = "UserInfo" RegistInput_COLLECTION = "RegistInput" )
Variables ¶
This section is empty.
Functions ¶
func ReadMgoSettingFromEnv ¶
func ReadMgoSettingFromEnv()
Types ¶
Click to show internal directories.
Click to hide internal directories.