cache

package
v0.0.0-...-edf4637 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheManager

type CacheManager interface {
	Get(key string) (string, error)
	Set(key string, value string) error
	GetByte(key string) ([]byte, error)
	SetByte(key string, value []byte) error
}

func New

func New(cfg config.Config) CacheManager

Jump to

Keyboard shortcuts

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