message

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConformationListener

type ConformationListener interface {
	queue.CloseListener
	Handle(delivery queue.Delivery, batch *p_buff.MessageGroupBatch, confirm queue.Confirmation) error
}

type Listener

type Listener interface {
	queue.CloseListener
	Handle(delivery queue.Delivery, batch *p_buff.MessageGroupBatch) error
}

type RawListener

type RawListener interface {
	queue.CloseListener
	Handle(delivery queue.Delivery, data []byte) error
}

type Router

type Router interface {
	SendAll(batch *p_buff.MessageGroupBatch, attributes ...string) error
	SendRawAll(payload []byte, attributes ...string) error
	SubscribeAll(listener Listener, attributes ...string) (queue.Monitor, error)
	SubscribeRawAll(listener RawListener, attributes ...string) (queue.Monitor, error)
	SubscribeAllWithManualAck(listener ConformationListener, attributes ...string) (queue.Monitor, error)
	io.Closer
}

Jump to

Keyboard shortcuts

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