Versions in this module Expand all Collapse all v0 v0.1.0 Jun 3, 2022 Changes in this version + const ErrEventNotFound + const ErrTaskAlreadyStarted + const ErrTaskNotStarted + const EventTypeTaskFinished + const EventTypeTaskStarted + type Error string + func (e Error) Error() string + type Event struct + CreatedAt time.Time + ID uuid.UUID + TaskName string + Type EventType + type EventFinder interface + LatestByName func(ctx context.Context, taskName string) (Event, error) + type EventStore interface + Store func(ctx context.Context, event Event) error + type EventType string + type TaskFinisher interface + Finish func(ctx context.Context, taskName string) error + type TaskStarter interface + Start func(ctx context.Context, taskName string) error