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
Click to show internal directories.
Click to hide internal directories.