Documentation ¶ Index ¶ type Database func OpenDatabase(l *zap.Logger, appName string, coll diface.ICollection, cache diface.ICache) *Database func (db *Database) Delete(id string) (err error) func (db *Database) LoadOrCreateUid(id string) (*model.Dao, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Database ¶ type Database struct { // contains filtered or unexported fields } func OpenDatabase ¶ func OpenDatabase( l *zap.Logger, appName string, coll diface.ICollection, cache diface.ICache, ) *Database func (*Database) Delete ¶ func (db *Database) Delete(id string) (err error) func (*Database) LoadOrCreateUid ¶ func (db *Database) LoadOrCreateUid(id string) (*model.Dao, error) Source Files ¶ View all Source files factory.go Directories ¶ Show internal Expand all Path Synopsis model redis Click to show internal directories. Click to hide internal directories.