Versions in this module Expand all Collapse all v1 v1.0.2 Jan 2, 2024 Changes in this version + func NewEventRepository(cfg events.Persistence) (events.Repository, error) + type Config struct + Collection string + Database string + Duration time.Duration + URI string + type Event struct + ID ulid.ULID + Payload events.Payload + Time time.Time + Topic string + func NewEvent(e *events.Event) *Event + func (e *Event) Event() *events.Event + type EventRepository interface + DropDatabase func(name string) error + type PayloadCodec interface + func NewPayloadCodec() PayloadCodec + type ULIDCodec interface + func NewULIDCodec() ULIDCodec