cache

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cacher

type Cacher interface {
	Get(data interface{}, keys ...interface{}) error
	Set(data interface{}, keys ...interface{}) error
	Delete(keys ...interface{}) error
	Close() error
}

Cacher is cache interface.

func NewCache

func NewCache(address, password string, expiredTime time.Duration) (Cacher, error)

NewCache to create cache cache with default config.

Jump to

Keyboard shortcuts

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