# Packages
Copyright (c) Abstract Machines SPDX-License-Identifier: Apache-2.0.
# Functions
Channel sets the channel for the publisher or subscriber.
Exchange sets the exchange for the publisher or subscriber.
NewPublisher returns RabbitMQ message Publisher.
NewPubSub returns RabbitMQ message publisher/subscriber.
Prefix sets the prefix for the publisher.
# Constants
SubjectAllChannels represents subject to subscribe for all the channels.
# Variables
ErrEmptyID indicates the absence of ID.
ErrEmptyTopic indicates the absence of topic.
ErrInvalidType is returned when the provided value is not of the expected type.
ErrNotSubscribed indicates that the topic is not subscribed to.