mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-23 16:19:10 -04:00
11 lines
233 B
Go
11 lines
233 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package keysutil
|
|
|
|
type Cache interface {
|
|
Delete(key interface{})
|
|
Load(key interface{}) (value interface{}, ok bool)
|
|
Store(key, value interface{})
|
|
Size() int
|
|
}
|