Documentation ¶
Overview ¶
Package dynamodb provides a library that uses DynamoDB to store your go types. This package implements memzy.Backend
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNotFound = fmt.Errorf("Item not found")
ErrNotFound is returned if you try to get an item that doesn't exist
var ( // ErrNullClient is returned if you try to create an iterator with a null client ErrNullClient = fmt.Errorf("Cannot create an Iter with a null client") )
Functions ¶
func UnmarshalStreamImage ¶
func UnmarshalStreamImage(attribute map[string]events.DynamoDBAttributeValue, out interface{}) error
UnmarshalStreamImage converts events.DynamoDBAttributeValue to struct HT https://stackoverflow.com/questions/49129534/unmarshal-mapstringdynamodbattributevalue-into-a-struct
Types ¶
type Client ¶
type Client struct { Service dynamodbiface.DynamoDBAPI TableName *string }
Client provides a connection to dynamo
type Iter ¶
type Iter struct {
// contains filtered or unexported fields
}
Iter provides a convenient interface for iterating over the elements returned from paginated list API calls. Successive calls to the Next method will step through each item in the list, fetching pages of items as needed. Iterators are not thread-safe, so they should not be consumed across multiple goroutines.