eventprocessor

package
v0.0.2-0...-9a6aa9e Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskStartedEventProcessor

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

func NewTaskStartedEventProcessor

func NewTaskStartedEventProcessor(
	entryRepository entry.Repository,
) *TaskStartedEventProcessor

func (*TaskStartedEventProcessor) EventType

func (s *TaskStartedEventProcessor) EventType() event.EventType

func (*TaskStartedEventProcessor) HandleEvent

func (s *TaskStartedEventProcessor) HandleEvent(e event.Event)

type TimerFinishedEventProcessor

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

func NewTimerFinishedEventProcessor

func NewTimerFinishedEventProcessor(
	cfg *config.Config,
	appContext application.AppContext,
	taskRepository task.Repository,
	pomodorotimer timer.Timer,
) *TimerFinishedEventProcessor

func (*TimerFinishedEventProcessor) EventType

func (*TimerFinishedEventProcessor) HandleEvent

func (p *TimerFinishedEventProcessor) HandleEvent(e event.Event)

type TimerTickedEventProcessor

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

func NewTimerTickedEventProcessor

func NewTimerTickedEventProcessor(
	appContext application.AppContext,
	metricsStore store.MetricsStore,
	taskRepository task.Repository,
	entryRepository entry.Repository,
) *TimerTickedEventProcessor

func (*TimerTickedEventProcessor) EventType

func (p *TimerTickedEventProcessor) EventType() event.EventType

func (*TimerTickedEventProcessor) HandleEvent

func (p *TimerTickedEventProcessor) HandleEvent(e event.Event)

Jump to

Keyboard shortcuts

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