Documentation ¶
Index ¶
- Constants
- func FixPaginationLimit(limit *int64) *int64
- func MarshallDynamodbAttribute(attribute interface{}) *dynamodb.AttributeValue
- func MarshallDynamodbItem(record interface{}) map[string]*dynamodb.AttributeValue
- func NewDefaultDynamodbEventStore(awsFactory factory.AwsFactory) model.AwsEventStore
- func NewDefaultDynamodbStateStore(awsFactory factory.AwsFactory) model.AwsStateStore
- func NewDynamodbEventStore(eventStoreTable string, eventStoreIndexByTime string, ...) model.AwsEventStore
- func NewDynamodbStateStore(eventStoreTableName string, stateStoreTableName string, ...) model.AwsStateStore
- func UnmarshallDynamodbItem(item map[string]*dynamodb.AttributeValue, record interface{})
- func UnmarshallDynamodbItemList(items []map[string]*dynamodb.AttributeValue, records interface{})
- func UnmarshallDynamodbStreamItem(item map[string]events.DynamoDBAttributeValue, record interface{})
Constants ¶
View Source
const DefaultPaginationLimit = 20
View Source
const MaxPaginationLimit = 100
View Source
const MinPaginationLimit = 1
Variables ¶
This section is empty.
Functions ¶
func FixPaginationLimit ¶ added in v0.9.0
func MarshallDynamodbAttribute ¶ added in v0.9.0
func MarshallDynamodbAttribute(attribute interface{}) *dynamodb.AttributeValue
func MarshallDynamodbItem ¶
func MarshallDynamodbItem(record interface{}) map[string]*dynamodb.AttributeValue
func NewDefaultDynamodbEventStore ¶
func NewDefaultDynamodbEventStore(awsFactory factory.AwsFactory) model.AwsEventStore
func NewDefaultDynamodbStateStore ¶
func NewDefaultDynamodbStateStore(awsFactory factory.AwsFactory) model.AwsStateStore
func NewDynamodbEventStore ¶
func NewDynamodbEventStore( eventStoreTable string, eventStoreIndexByTime string, eventStoreIndexByDay string, eventStoreIndexByType string, eventStoreIndexByAuthor string, eventStoreIndexByTransaction string, controlStoreTable string, dynamodbClient dynamodbiface.DynamoDBAPI) model.AwsEventStore
func NewDynamodbStateStore ¶
func NewDynamodbStateStore( eventStoreTableName string, stateStoreTableName string, stateStoreIndexByTime string, dynamodbClient dynamodbiface.DynamoDBAPI) model.AwsStateStore
func UnmarshallDynamodbItem ¶
func UnmarshallDynamodbItem(item map[string]*dynamodb.AttributeValue, record interface{})
func UnmarshallDynamodbItemList ¶
func UnmarshallDynamodbItemList(items []map[string]*dynamodb.AttributeValue, records interface{})
func UnmarshallDynamodbStreamItem ¶
func UnmarshallDynamodbStreamItem(item map[string]events.DynamoDBAttributeValue, record interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.