pubsub

package
v0.0.0-...-e77dc18 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSuber

type PubSuber interface {
	//ConnectToBroker(connectionString string)
	Publish(ctx context.Context, body []byte, queueName string) error
	//PublishOnQueue(msg []byte, queueName string) error
	Subscribe(ctx context.Context, queueName string, consumerName string, handlerFunc func(amqp.Delivery)) error
	//SubscribeToQueue(queueName string, consumerName string, handlerFunc func(amqp.Delivery)) error
	Close()
}

PubSuber ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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