event

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonEventRouter

type CommonEventRouter struct {
	Logger zerolog.Logger
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(
	manager *connection.Manager,
	config *queue.RouterConfig,
	logger zerolog.Logger,
) *CommonEventRouter

func (*CommonEventRouter) Close

func (cer *CommonEventRouter) Close() error

func (*CommonEventRouter) SendAll

func (cer *CommonEventRouter) SendAll(EventBatch *p_buff.EventBatch, attributes ...string) error

func (*CommonEventRouter) SubscribeAll

func (cer *CommonEventRouter) SubscribeAll(listener event.Listener, attributes ...string) (queue.Monitor, error)

func (*CommonEventRouter) SubscribeAllWithManualAck

func (cer *CommonEventRouter) SubscribeAllWithManualAck(listener event.ConformationListener, attributes ...string) (queue.Monitor, error)

type CommonEventSender

type CommonEventSender struct {
	ConnManager *connection.Manager

	Logger zerolog.Logger
	// contains filtered or unexported fields
}

func (*CommonEventSender) Send

func (sender *CommonEventSender) Send(batch *p_buff.EventBatch) error

Jump to

Keyboard shortcuts

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