resultcache

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteArrayEntry

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

func (*ByteArrayEntry) GetKey

func (b *ByteArrayEntry) GetKey() string

func (*ByteArrayEntry) GetTime

func (b *ByteArrayEntry) GetTime() time.Time

func (*ByteArrayEntry) GetValue

func (b *ByteArrayEntry) GetValue() interface{}

func (*ByteArrayEntry) SetTime

func (b *ByteArrayEntry) SetTime(time time.Time)

func (*ByteArrayEntry) SetValue

func (b *ByteArrayEntry) SetValue(value interface{})

func (*ByteArrayEntry) Size

func (b *ByteArrayEntry) Size() int64

type MemCacheAdapter

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

func (*MemCacheAdapter) Get

func (adapter *MemCacheAdapter) Get(key string) ([]byte, bool)

func (*MemCacheAdapter) Put

func (adapter *MemCacheAdapter) Put(key string, value []byte)

type ResultCache

type ResultCache interface {
	Get(key string) ([]byte, bool)
	Put(key string, value []byte)
}

func NewResultCache

func NewResultCache(cacheConfig config.ResultCacheConfig) ResultCache

Jump to

Keyboard shortcuts

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