cache

package
v0.0.0-...-37af083 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCacheRedis

func NewCacheRedis(addr string, s storage.Storage, f HitMissCallback) storage.Storage

NewCacheRedis - возвращает обертку над хранилищем и кэширует данные

Types

type HitMissCallback

type HitMissCallback func(name string, hit bool)

HitMissCallback callback function. Для подсчета статистики

Jump to

Keyboard shortcuts

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