cache

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: GPL-3.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 Cache

type Cache interface {
	AddOrder(o models.Order) error
	GetOrders(roomID string) ([]models.Order, error)
}

Можно было бы создать абстрактный кеш, который обычно и используется по типу lru кеша, где значение interface, то как то так микросервис работает в основном с ордерами(заказами)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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