dynamodbstore

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BySequenceID added in v2.4.0

func BySequenceID(value string) eventsource.QueryOption

BySequenceID will set filter to only return records with sequence id greater than value

func ByTimestamp added in v2.4.0

func ByTimestamp(value string) eventsource.QueryOption

ByTimestamp will set filter to only return records with timestamp greater than value

func ByType added in v2.4.0

func ByType(value string) eventsource.QueryOption

ByType will set filter to only return records with type equal to value

func New

func New(db *dynamodb.DynamoDB, tableName string) eventsource.Store

New creates a new event source store

func WithIndex added in v2.4.0

func WithIndex(indexName string) eventsource.QueryOption

WithIndex will query on an index instead of primarykey

func WithLimit added in v2.4.0

func WithLimit(limit int64) eventsource.QueryOption

WithLimit will limit the result

Types

This section is empty.

Jump to

Keyboard shortcuts

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