cache

package
v0.0.0-...-21d01d2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 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 Cache

type Cache interface {
	Get(key string) (interface{}, bool)
	GetActual(val interface{}) interface{}
	GetString(key string) (string, bool)
	GetTime(key string) (time.Time, bool)
	Set(key string, val interface{}) Cache
	Keys() []string
	Clone() Cache
	Merge(c Cache) Cache
	Dump()
}

func New

func New() Cache

func NewWithParams

func NewWithParams(params map[string]interface{}) Cache

Jump to

Keyboard shortcuts

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