mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-26 21:19:31 +02:00
10 lines
277 B
Go
10 lines
277 B
Go
package kv
|
|
|
|
import "context"
|
|
|
|
// Store specifies a key value storage interface.
|
|
type Store interface {
|
|
Set(ctx context.Context, key string, value []byte) error
|
|
Get(ctx context.Context, key string) (keyExists bool, value []byte, err error)
|
|
Close(ctx context.Context) error
|
|
}
|