cache

package
v0.0.0-...-3c1c7b0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReceiptCache

type ReceiptCache interface {
	Set(key string, value []entity.Receipt)
	Get(key string) []entity.Receipt
	Del(key string)
}

func NewReceiptCache

func NewReceiptCache(cache *redis.Client, expires time.Duration) ReceiptCache

Jump to

Keyboard shortcuts

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