edge/pkg/storage/driver/cache/lfu/store.go

8 lines
130 B
Go
Raw Permalink Normal View History

package lfu
type Store[K comparable, V any] interface {
Delete(key K) error
Set(key K, value V) error
Get(key K) (V, error)
}