cachex

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICache

type ICache interface {
	Get(key string, defaultValue ...interface{}) interface{}
	Set(key string, value interface{}, ttl ...interface{}) bool
	Delete(key string) bool
	Clear() bool
	GetMultiple(keys []string, defaultValue ...interface{}) []interface{}
	SetMultiple(entries []map[string]interface{}, ttl ...interface{}) bool
	DeleteMultiple(keys []string) bool
	Has(key string) bool
}

Jump to

Keyboard shortcuts

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