Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Repository sql.Config ServiceName string Cache *config.CacheConfig }
type Eventstore ¶
type Eventstore interface { Health(ctx context.Context) error FilterEvents(ctx context.Context, searchQuery *models.SearchQuery) (events []*models.Event, err error) LatestSequence(ctx context.Context, searchQuery *models.SearchQueryFactory) (uint64, error) Subscribe(aggregates ...models.AggregateType) *Subscription }
func Start ¶
func Start(conf Config) (Eventstore, error)
type Subscription ¶
func (*Subscription) Unsubscribe ¶
func (s *Subscription) Unsubscribe()
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
repository/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.