Documentation ¶
Index ¶
- func Test_Item(t *testing.T)
- func Test_PlayerCharacter(t *testing.T)
- func Test_Room(t *testing.T)
- func Test_ThreadSafety(t *testing.T)
- func Test_User(t *testing.T)
- func Test_Zone(t *testing.T)
- type TestCollection
- func (mc TestCollection) DropCollection() error
- func (mc TestCollection) Find(selector interface{}) database.Query
- func (mc TestCollection) FindId(selector interface{}) database.Query
- func (mc TestCollection) Remove(selector interface{}) error
- func (mc TestCollection) RemoveId(id interface{}) error
- func (mc TestCollection) UpdateId(id interface{}, change interface{}) error
- func (mc TestCollection) UpsertId(id interface{}, change interface{}) error
- type TestDatabase
- type TestIterator
- type TestQuery
- type TestSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Test_PlayerCharacter ¶
func Test_ThreadSafety ¶
Types ¶
type TestCollection ¶
type TestCollection struct { }
func (TestCollection) DropCollection ¶
func (mc TestCollection) DropCollection() error
func (TestCollection) Find ¶
func (mc TestCollection) Find(selector interface{}) database.Query
func (TestCollection) FindId ¶
func (mc TestCollection) FindId(selector interface{}) database.Query
func (TestCollection) Remove ¶
func (mc TestCollection) Remove(selector interface{}) error
func (TestCollection) RemoveId ¶
func (mc TestCollection) RemoveId(id interface{}) error
func (TestCollection) UpdateId ¶
func (mc TestCollection) UpdateId(id interface{}, change interface{}) error
func (TestCollection) UpsertId ¶
func (mc TestCollection) UpsertId(id interface{}, change interface{}) error
type TestDatabase ¶
type TestDatabase struct { }
func (TestDatabase) C ¶
func (md TestDatabase) C(collectionName string) database.Collection
type TestIterator ¶
type TestIterator struct { }
func (TestIterator) All ¶
func (mi TestIterator) All(result interface{}) error
type TestSession ¶
type TestSession struct { }
Click to show internal directories.
Click to hide internal directories.