Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(params Parameters, tableName string) (eventsourcing.MiddlewareFactory, error)
Create a snap provider using the default AWS session context
func CreateWithSession ¶
func CreateWithSession(params Parameters, session *session.Session, tableName string) (eventsourcing.MiddlewareFactory, error)
CreateWithSession provisions a new instance of the dynamo-snap provider using an existing session
Types ¶
type Parameters ¶
type Parameters struct { Lazy bool // Lazy mode? SnapInterval int64 `json:"snap_interval"` // SnapInterval is the number of events between snaps }
Parameters describes the parameters that can be used to cofigure a DynamoDB snap store.
Click to show internal directories.
Click to hide internal directories.