Documentation ¶
Index ¶
- func BySequenceID(value string) eventsource.QueryOption
- func ByTimestamp(value string) eventsource.QueryOption
- func ByType(value string) eventsource.QueryOption
- func New(db *dynamodb.DynamoDB, tableName string) eventsource.Store
- func WithIndex(indexName string) eventsource.QueryOption
- func WithLimit(limit int64) eventsource.QueryOption
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.
Click to show internal directories.
Click to hide internal directories.