rediscache

package
v0.0.0-...-4e1bfa0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 9 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 struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, conf config.Cache) (*Cache, error)

func (*Cache) Transaction

func (c *Cache) Transaction() cache.TransactionCache

type TransactionCache

type TransactionCache struct {
	// contains filtered or unexported fields
}

func NewTransactionRepository

func NewTransactionRepository(cache *Cache) *TransactionCache

func (*TransactionCache) Get

func (*TransactionCache) Set

func (r *TransactionCache) Set(ctx context.Context, result *model.Result) error

Jump to

Keyboard shortcuts

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