Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(params Parameters) (eventsourcing.CommitMiddleware, eventsourcing.RefreshMiddleware, func() error)
Create provisions a new instance of the memory-snap provider.
Types ¶
type Parameters ¶
type Parameters struct { Lazy bool // Lazy snapshots (won't refresh if there's a cached copy in RAM) SnapInterval int64 `json:"snap_interval"` // SnapInterval is the number of events between snaps }
Parameters describes the parameters that can be used to configure the snap store.
Click to show internal directories.
Click to hide internal directories.