events

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package events provides the event consumer for the journal service. This package is responsible for consuming events from the event store and processing them.

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingOccurredAt = errors.New("missing occurred_at")

Functions

func Handle

func Handle(service journal.Service) handleFunc

func Start

func Start(ctx context.Context, consumer string, sub events.Subscriber, service journal.Service) error

Start method starts consuming messages received from Event store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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