storage

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection interface {
	FindOne(ctx context.Context, filter interface{}, dst interface{}) error
	DeleteOne(ctx context.Context, filter interface{}) error
	InsertOne(ctx context.Context, doc interface{}) error
	UpdateOne(ctx context.Context, filter interface{}, doc interface{}) error
	DeleteMany(ctx context.Context, filter interface{}) error
}

type Database

type Database interface {
	Collection(collName string) Collection
}

type Disconnector

type Disconnector interface {
	Disconnect(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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