mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-04 21:06:03 +02:00
* deployment: throw away golanglint-ci defaults Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
12 lines
402 B
Go
12 lines
402 B
Go
// Package kv defines a Store interfaces that can be implemented by
|
|
// datastores to provide key value storage capabilities.
|
|
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
|
|
}
|