Categorygithub.com/fairyhunter13/amqpwrapper
modulepackage
1.0.3
Repository: https://github.com/fairyhunter13/amqpwrapper.git
Documentation: pkg.go.dev

# README

بِسْمِ اللّٰهِ الرَّحْمٰنِ الرَّحِيْمِ


السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ


ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ

ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ

ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ


اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ ، وَعَلَى آلِ مُحَمَّدٍ ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ ، إِنَّكَ حَمِيدٌ مَجِيدٌ ، اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ ، وَعَلَى آلِ مُحَمَّدٍ ، كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ ، وَعَلَى آلِ إِبْرَاهِيمَ ، إِنَّكَ حَمِيدٌ مَجِيدٌ

Amqpwrapper

CircleCI Coverage Status Go Report Card

Amqwrapper is a library to wrap streadway/amqp. This library manages channel initialization and reconnection automatically. Since streadway/amqp doesn't provide the mechanism for auto reconnection, this library does this job and ensures that the topology still remains the same when the channel firstly initialized. For more details, see the documentation of the Api Reference in here.

# Functions

NewChannelManager creates new channel manager for the given key and channel type.
NewManager creates connection manager to be used to manage the lifecycle of connections.

# Constants

Closed defines the closed state for the connection.
Consumer defines the type for Consumer client of rabbitmq.
DefaultHeartbeat defines the default heartbeat used in the config to dial rabbitmq.
DefaultLocale set the default locale for the connection to rabbitmq.
Open defines the opened state for the connection.
Producer defines the type for Producer client of rabbitmq.

# Variables

ErrChannelNotFound defines error if the custom channel is not found in the map.
ErrInvalidArgs defines the error if arguments are not valid.
ErrNilArg defines the error if an argument is nil.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author