cache

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheService

type CacheService interface {
	Get(cacheKey, uuid string) (*[]byte, bool)
	Set(cacheKey string, data *[]byte, uuid string)
}

type InMemoryCacheService added in v1.2.0

type InMemoryCacheService struct {
	// contains filtered or unexported fields
}

func NewInMemoryCacheService added in v1.2.0

func NewInMemoryCacheService() *InMemoryCacheService

func (*InMemoryCacheService) Get added in v1.2.0

func (l *InMemoryCacheService) Get(cacheKey, uuid string) (*[]byte, bool)

func (*InMemoryCacheService) Set added in v1.2.0

func (l *InMemoryCacheService) Set(cacheKey string, data *[]byte, uuid string)

Jump to

Keyboard shortcuts

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