redis

package
v1.0.0-M3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	storage.DefaultStore
	// contains filtered or unexported fields
}

Store implements the Store interface

func New

func New(url string) (*Store, error)

New returns a new in-memory Store implementation.

func (*Store) GetBytes

func (s *Store) GetBytes(ctx context.Context, store string, key []byte) ([]byte, error)

func (*Store) GetBytesAtVersion

func (s *Store) GetBytesAtVersion(ctx context.Context, store string, key []byte, version uint64) ([]byte, error)

func (*Store) SetBytes

func (s *Store) SetBytes(ctx context.Context, store string, key []byte, value []byte) error

func (*Store) SetBytesWithVersion

func (s *Store) SetBytesWithVersion(ctx context.Context, store string, key []byte, value []byte, version uint64) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL