cache

package
v0.0.0-...-11fa6ca Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func (*Cache) Construct

func (*Cache) Construct() interface{}

func (*Cache) Get

func (c *Cache) Get(key string) (interface{}, bool)

func (*Cache) Has

func (c *Cache) Has(key string) bool

func (*Cache) Set

func (c *Cache) Set(key string, value interface{})

type CacheProvider

type CacheProvider interface {
	Get(key string) (interface{}, bool)
	Set(key string, value interface{})
	Delete(key string)
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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