cache

package
v2.0.0-alpha.30 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 5 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 {
	GetImage(value string, extension extension.Type) (*entity.Image, error)
	LoadImage(value string, extension extension.Type) error
	GetCode(code string, codeType string) ([]byte, error)
	SaveCode(code string, codeType string, bytes []byte)
}

func New

func New() Cache

func NewMutexDecorator

func NewMutexDecorator(cache Cache) Cache

Jump to

Keyboard shortcuts

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