dynamodb

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(dynamodbClient dynamodbiface.DynamoDBAPI, tableName string, readCapacityUnits int64, writeCapacityUnits int64, ttl time.Duration) wfcache.StorageMaker

Types

type DynamoDbStorage

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

func (*DynamoDbStorage) BatchGet

func (s *DynamoDbStorage) BatchGet(keys []string) (results []*wfcache.Metadata)

If you request more than 100 items, BatchGetItem returns a ValidationException with the message "Too many items requested for the BatchGetItem call."

func (*DynamoDbStorage) BatchSet

func (s *DynamoDbStorage) BatchSet(pairs map[string][]byte) error

func (*DynamoDbStorage) Del

func (s *DynamoDbStorage) Del(key string) error

func (*DynamoDbStorage) Get

func (s *DynamoDbStorage) Get(key string) *wfcache.Metadata

func (*DynamoDbStorage) Set

func (s *DynamoDbStorage) Set(key string, data []byte) error

Jump to

Keyboard shortcuts

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