storages

package
v0.0.0-...-debf52e Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storager

type Storager interface {
	AddOrder(ctx context.Context, order models.Order)
	GetStats(ctx context.Context) models.Stats
	GetOrderByUID(ctx context.Context, id string) (models.Order, error)
}

Storager is the common interface implemented by all storages.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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