consumer

package
v0.0.0-...-7687a33 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher interface {
	Dispatch(ctx context.Context, ev eventbus.Event)
	WaitFor(ctx context.Context, ev eventbus.Event) (err error)
}

type EventbusConsumer

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

func NewEventbusConsumer

func NewEventbusConsumer(q string, servicer types.QueueEventBuilder) *EventbusConsumer

func (*EventbusConsumer) Write

func (cq *EventbusConsumer) Write(ctx context.Context, p []byte) error

type StoreConsumer

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

func NewStoreConsumer

func NewStoreConsumer(q string, s types.QueueServicer) *StoreConsumer

func (*StoreConsumer) GetStore

func (cq *StoreConsumer) GetStore() types.QueueStorer

func (*StoreConsumer) SetStore

func (cq *StoreConsumer) SetStore(s types.QueueStorer)

func (*StoreConsumer) Write

func (cq *StoreConsumer) Write(ctx context.Context, p []byte) error

Jump to

Keyboard shortcuts

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