Documentation ¶ Index ¶ type Cache 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, то как то так микросервис работает в основном с ордерами(заказами) Source Files ¶ View all Source files cache.go Directories ¶ Show internal Expand all Path Synopsis inmem Click to show internal directories. Click to hide internal directories.