dynamosnap

package
v0.0.0-...-eeebc8f Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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