dynamo

package
v0.0.0-...-76f7c0c Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(tableName string) (store.KeyValue, error)

Types

type KeyValueStore

type KeyValueStore struct {
	// contains filtered or unexported fields
}

func (*KeyValueStore) Delete

func (s *KeyValueStore) Delete(key string) error

func (*KeyValueStore) Get

func (s *KeyValueStore) Get(key string) (interface{}, error)

func (*KeyValueStore) GetAll

func (s *KeyValueStore) GetAll() ([]*models.KeyValuePair, error)

func (*KeyValueStore) Put

func (s *KeyValueStore) Put(pair *models.KeyValuePair) error

func (*KeyValueStore) PutMany

func (s *KeyValueStore) PutMany(pairs []*models.KeyValuePair) error

Jump to

Keyboard shortcuts

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