cache

package
v0.0.0-...-35681f6 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRedisCache

func CreateRedisCache()

Types

type CacheInterface

type CacheInterface interface {
	Set(key string, value string) (string, error)
	Get(key string) (string, error)
}

type RedisCache

type RedisCache struct {
	// contains filtered or unexported fields
}
var Cache RedisCache

func (*RedisCache) Get

func (r *RedisCache) Get(key string) (string, error)

func (*RedisCache) Set

func (r *RedisCache) Set(key string, value string) (string, error)

Jump to

Keyboard shortcuts

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