memcachestor

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemcachedCacheStorage

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

func NewMemcachedCacheStorage

func NewMemcachedCacheStorage(memcache *memcache.Client) MemcachedCacheStorage

NewRedisCacheStorage creates a new RedisCacheStorage

func (MemcachedCacheStorage) Del

Del deletes a key from Redis

func (MemcachedCacheStorage) Get

Get returns a value from Redis by key

func (MemcachedCacheStorage) Set

Set sets a value in Redis by key

func (MemcachedCacheStorage) TTL

TTL returns a TTL of a key in Redis

Jump to

Keyboard shortcuts

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