dynamodb

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateStore

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

StateStore is a DynamoDB state store

func NewDynamoDBStateStore

func NewDynamoDBStateStore() *StateStore

NewDynamoDBStateStore returns a new dynamoDB state store

func (*StateStore) BulkDelete

func (d *StateStore) BulkDelete(req []state.DeleteRequest) error

BulkDelete performs a bulk delete operation

func (*StateStore) BulkSet

func (d *StateStore) BulkSet(req []state.SetRequest) error

BulkSet performs a bulk set operation

func (*StateStore) Delete

func (d *StateStore) Delete(req *state.DeleteRequest) error

Delete performs a delete operation

func (*StateStore) Get

func (d *StateStore) Get(req *state.GetRequest) (*state.GetResponse, error)

Get retrieves a dynamoDB item

func (*StateStore) Init

func (d *StateStore) Init(metadata state.Metadata) error

Init does metadata and connection parsing

func (*StateStore) Set

func (d *StateStore) Set(req *state.SetRequest) error

Set saves a dynamoDB item

Jump to

Keyboard shortcuts

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