eventstore

package
v0.0.0-...-a320c80 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListFilter

type ListFilter struct {
	AfterVersion  event.Version
	BeforeVersion event.Version
	Limit         int
}

type Repository

type Repository interface {
	Get(ctx context.Context, aggregateID, aggregateType string, version event.Version) (event.Eventer, error)
	List(ctx context.Context, aggregateID, aggregateType string, filter *ListFilter) ([]event.Eventer, error)
	Save(ctx context.Context, events []event.Eventer) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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