open-vault/sdk/helper/keysutil/cache.go

9 lines
163 B
Go

package keysutil
type Cache interface {
Delete(key interface{})
Load(key interface{}) (value interface{}, ok bool)
Store(key, value interface{})
Size() int
}