Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion int32
const ( APIVersion1 APIVersion = iota APIVersion1TTL APIVersion2 )
type Client ¶
type Client interface {
Put(ctx context.Context, key, value []byte) error
Get(ctx context.Context, key []byte) ([]byte, error)
Delete(ctx context.Context, key []byte) error
TTL(ctx context.Context, key []byte) (uint64, error)
Scan(ctx context.Context, start []byte, limit int) ([]Entry, error)
Close(ctx context.Context) error
}
Click to show internal directories.
Click to hide internal directories.