stub of tiered cache

This commit is contained in:
Colin Henry
2022-12-15 22:00:51 -08:00
parent 7cf53a2f2d
commit 859849bd47
2 changed files with 40 additions and 0 deletions

6
cache/interface.go vendored Normal file
View File

@@ -0,0 +1,6 @@
package cache
type Interface[K comparable, V any] interface {
Get(key K) V
Put(key K, value V)
}