Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func New ¶
func New(session *mgo.Session, opt map[string]interface{}, hooks iface.Hooks, newDb func(session *mgo.Session, db *mgo.Database, opt map[string]interface{}, hooks iface.Hooks) iface.Db) *Session
This is an ugly hack to get around the ugly circular dependency. We will get rid of that later.
Click to show internal directories.
Click to hide internal directories.