eventstore

package
v0.0.0-...-a65bbd9 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestAggregateStore

type TestAggregateStore struct {
	// contains filtered or unexported fields
}

func (*TestAggregateStore) Exists

func (as *TestAggregateStore) Exists(ctx context.Context, aggregateID string) error

func (*TestAggregateStore) GetEventMap

func (as *TestAggregateStore) GetEventMap() map[string][]eventstore.Event

func (*TestAggregateStore) Load

func (as *TestAggregateStore) Load(ctx context.Context, aggregate eventstore.Aggregate) error

func (*TestAggregateStore) LoadVersion

func (as *TestAggregateStore) LoadVersion(ctx context.Context, aggregate eventstore.Aggregate) error

func (*TestAggregateStore) Save

func (as *TestAggregateStore) Save(ctx context.Context, aggregate eventstore.Aggregate) error

func (*TestAggregateStore) UpdateStreamMetadata

func (as *TestAggregateStore) UpdateStreamMetadata(ctx context.Context, streamID string, streamMetadata esdb.StreamMetadata) error

Jump to

Keyboard shortcuts

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