bouncer/internal/cache/cache.go

7 lines
104 B
Go

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