Documentation ¶ Index ¶ type Database func NewDatabase(createDbNotReachableError bool) *Database func (db *Database) Create(ctx context.Context, taskMessage string) *data.CreateResponse func (db *Database) Delete(ctx context.Context, query string) *data.DeleteResponse func (db *Database) List(ctx context.Context, limit int64) *data.ListResponse 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 NewDatabase ¶ func NewDatabase(createDbNotReachableError bool) *Database func (*Database) Create ¶ func (db *Database) Create(ctx context.Context, taskMessage string) *data.CreateResponse func (*Database) Delete ¶ func (db *Database) Delete(ctx context.Context, query string) *data.DeleteResponse func (*Database) List ¶ func (db *Database) List(ctx context.Context, limit int64) *data.ListResponse Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.