Documentation ¶
Index ¶
- Constants
- func MapDynamoEventRecordToCevixeEvent(ctx context.Context, record events.DynamoDBEventRecord) core.Event
- func NewEventStore(eventStoreRegion string, eventStoreTable string, clientFactory ClientFactory) model.EventStore
- func NewStateStore(stateStoreRegion string, stateStoreTable string, clientFactory ClientFactory) model.StateStore
- type ClientFactory
Constants ¶
View Source
const AwsDynamoFactory string = "AwsDynamoFactory"
Variables ¶
This section is empty.
Functions ¶
func NewEventStore ¶
func NewEventStore(eventStoreRegion string, eventStoreTable string, clientFactory ClientFactory) model.EventStore
func NewStateStore ¶
func NewStateStore( stateStoreRegion string, stateStoreTable string, clientFactory ClientFactory) model.StateStore
Types ¶
type ClientFactory ¶
type ClientFactory interface {
GetClient(region string) dynamodbiface.DynamoDBAPI
}
func NewClientFactory ¶
func NewClientFactory(sessionFactory session.Factory) ClientFactory
Click to show internal directories.
Click to hide internal directories.