nats

package
v0.0.0-...-4673371 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: EUPL-1.2 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NATSExchange

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

func NewNATSExchange

func NewNATSExchange(conn *nats.Conn) (*NATSExchange, error)

func (*NATSExchange) PublishSendScanToWorkerMessage

func (n *NATSExchange) PublishSendScanToWorkerMessage(ctx context.Context, worker *queries.Worker, message messages.SendScanToWorkerMessage) error

func (*NATSExchange) ReceiveSendScanToWorkerMessage

func (n *NATSExchange) ReceiveSendScanToWorkerMessage(ctx context.Context, worker *queries.Worker) (messages.SendScanToWorkerMessage, bool, error)

Jump to

Keyboard shortcuts

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