db

package
v0.0.0-...-8a99b67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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, coll diface.ICollection, cache diface.ICache) *Database

func (*Database) CreateBuddyQueue

func (d *Database) CreateBuddyQueue(id string) error

func (*Database) LoadOrCreateBuddyQueue

func (d *Database) LoadOrCreateBuddyQueue(id string) (*model.Dao, error)

func (*Database) NewBuddyQueue

func (d *Database) NewBuddyQueue(id string) (*model.Dao, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL