Versions in this module Expand all Collapse all v0 v0.3.1 Jan 9, 2025 v0.3.0 Dec 12, 2024 Changes in this version + type GeneratorAggregator struct + func NewAggregator(generators []SnapshotGenerator) *GeneratorAggregator + func (a *GeneratorAggregator) Close() error + func (a *GeneratorAggregator) CreateSnapshot(ctx context.Context, ss *snapshot.Snapshot) error + type SnapshotGenerator interface + Close func() error + CreateSnapshot func(ctx context.Context, snapshot *snapshot.Snapshot) error + type SnapshotRecorder struct + func NewSnapshotRecorder(store snapshotstore.Store, generator SnapshotGenerator) *SnapshotRecorder + func (s *SnapshotRecorder) Close() error + func (s *SnapshotRecorder) CreateSnapshot(ctx context.Context, ss *snapshot.Snapshot) error