Documentation ¶ Index ¶ Variables type Cache 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) } Source Files ¶ View all Source files vm.go Directories ¶ Show internal Expand all Path Synopsis disk filesystem Click to show internal directories. Click to hide internal directories.