bouncer/internal/cache/cache.go

7 lines
104 B
Go
Raw Permalink Normal View History

package cache
type Cache[K comparable, V any] interface {
Get(key K) (V, bool)
Set(key K, value V)
}