vm

package
v0.58.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSignature = xerrors.New("invalid signature error")
	ErrUnsupportedType  = xerrors.New("unsupported type error")
)

Functions

This section is empty.

Types

type Cache

type Cache[K comparable, V any] interface {
	// Add stores data in the cache
	Add(key K, value V) (evicted bool)

	// Get returns key's value from the cache
	Get(key K) (value V, ok bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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