postgres

package
v0.0.0-...-2487f57 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 3 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 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

Jump to

Keyboard shortcuts

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