storage

package
v0.0.0-...-506fe41 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TabletMongoStorage

type TabletMongoStorage struct {
	// contains filtered or unexported fields
}

func NewTabletMongoStorage

func NewTabletMongoStorage(db *mongo.Database) *TabletMongoStorage

func (*TabletMongoStorage) GetAll

func (s *TabletMongoStorage) GetAll(ctx context.Context) ([]*models.Tablet, error)

func (*TabletMongoStorage) Insert

func (s *TabletMongoStorage) Insert(ctx context.Context, t *models.Tablet) error

Jump to

Keyboard shortcuts

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