|
|
4 years ago | |
|---|---|---|
| .. | ||
| .gitignore | 4 years ago | |
| .travis.yml | 4 years ago | |
| CODE_OF_CONDUCT.md | 4 years ago | |
| CONTRIBUTING.md | 4 years ago | |
| LICENSE | 4 years ago | |
| Makefile | 4 years ago | |
| README.md | 4 years ago | |
| allocator.go | 4 years ago | |
| auth.go | 4 years ago | |
| certs.sh | 4 years ago | |
| channel.go | 4 years ago | |
| confirms.go | 4 years ago | |
| connection.go | 4 years ago | |
| consumers.go | 4 years ago | |
| delivery.go | 4 years ago | |
| doc.go | 4 years ago | |
| fuzz.go | 4 years ago | |
| gen.sh | 4 years ago | |
| go.mod | 4 years ago | |
| pre-commit | 4 years ago | |
| read.go | 4 years ago | |
| return.go | 4 years ago | |
| spec091.go | 4 years ago | |
| types.go | 4 years ago | |
| uri.go | 4 years ago | |
| write.go | 4 years ago | |
This is a Go AMQP 0.9.1 client maintained by the RabbitMQ core team. It was originally developed by Sean Treadway.
Some things are different compared to the original client, others haven't changed.
This library uses a different package name. If moving from streadway/amqp,
using an alias may reduce the number of changes needed:
amqp "github.com/rabbitmq/amqp091-go"
This client uses the same 2-clause BSD license as the original project.
This client retains key API elements as practically possible. It is, however, open to reasonable breaking public API changes suggested by the community. We don't have the "no breaking public API changes ever" rule and fully recognize that a good client API evolves over time.
This project is based on a mature Go client that's been around for over a decade.
We expect this client to undergo moderate breaking public API changes in 2021. Major and minor versions will be updated accordingly.
This client supports two most recent Go release series.
This project supports RabbitMQ versions starting with 2.0 but primarily tested
against currently supported RabbitMQ release series.
Some features and behaviours may be server version-specific.
Provide a functional interface that closely represents the AMQP 0.9.1 model targeted to RabbitMQ as a server. This includes the minimum necessary to interact the semantics of the protocol.
Things not intended to be supported.
See the 'examples' subdirectory for simple producers and consumers executables. If you have a use-case in mind which isn't well-represented by the examples, please file an issue.
Pull requests are very much welcomed. Create your pull request on a non-main branch, make sure a test or example is included that covers your change, and your commits represent coherent changes that include a reason for the change.
To run the integration tests, make sure you have RabbitMQ running on any host,
export the environment variable AMQP_URL=amqp://host/ and run go test -tags integration. TravisCI will also run the integration tests.
BSD 2 clause - see LICENSE for more details.