[![Build Status](https://api.travis-ci.org/streadway/amqp.svg)](http://travis-ci.org/streadway/amqp) [![GoDoc](https://godoc.org/github.com/streadway/amqp?status.svg)](http://godoc.org/github.com/streadway/amqp)
# Go RabbitMQ Client Library (Unmaintained Fork)
## Beware of Abandonware
This repository is **NOT ACTIVELY MAINTAINED**. Consider using
a different fork instead: [rabbitmq/amqp091-go](https://github.com/rabbitmq/amqp091-go).
In case of questions, start a discussion in that repo or [use other RabbitMQ community resources](https://rabbitmq.com/contact.html).
## Project Maturity
This project has been used in production systems for many years. As of 2022,
this repository is **NOT ACTIVELY MAINTAINED**.
This repository is **very strict** about any potential public API changes.
You may want to consider [rabbitmq/amqp091-go](https://github.com/rabbitmq/amqp091-go) which
is more willing to adapt the API.
## Supported Go Versions
This library supports two most recent Go release series, currently 1.10 and 1.11.
## Supported RabbitMQ Versions
This project supports RabbitMQ versions starting with `2.0` but primarily tested
against reasonably recent `3.x` releases. Some features and behaviours may be
server version-specific.
## Goals
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.
## Non-goals
Things not intended to be supported.
* Auto reconnect and re-synchronization of client and server topologies.
* Reconnection would require understanding the error paths when the
topology cannot be declared on reconnect. This would require a new set
of types and code paths that are best suited at the call-site of this
package. AMQP has a dynamic topology that needs all peers to agree. If
this doesn't happen, the behavior is undefined. Instead of producing a
possible interface with undefined behavior, this package is designed to
be simple for the caller to implement the necessary connection-time
topology declaration so that reconnection is trivial and encapsulated in
the caller's application code.
* AMQP Protocol negotiation for forward or backward compatibility.
* 0.9.1 is stable and widely deployed. Versions 0.10 and 1.0 are divergent
specifications that change the semantics and wire format of the protocol.
We will accept patches for other protocol support but have no plans for
implementation ourselves.
* Anything other than PLAIN and EXTERNAL authentication mechanisms.
* Keeping the mechanisms interface modular makes it possible to extend
outside of this package. If other mechanisms prove to be popular, then
we would accept patches to include them in this package.
## Usage
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.
## Documentation
Use [Godoc documentation](http://godoc.org/github.com/streadway/amqp) for
reference and usage.
[RabbitMQ tutorials in
Go](https://github.com/rabbitmq/rabbitmq-tutorials/tree/master/go) are also
available.
## Contributing
Pull requests are very much welcomed. Create your pull request on a non-master
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.
Thanks to the [community of contributors](https://github.com/streadway/amqp/graphs/contributors).
## External packages
* [Google App Engine Dialer support](https://github.com/soundtrackyourbrand/gaeamqp)
* [RabbitMQ examples in Go](https://github.com/rabbitmq/rabbitmq-tutorials/tree/master/go)
## License
BSD 2 clause - see LICENSE for more details.
没有合适的资源?快使用搜索试试~ 我知道了~
Go client for AMQP 0.9.1.zip
共43个文件
go:33个
sh:2个
md:2个
需积分: 5 0 下载量 51 浏览量
2023-12-28
20:52:53
上传
评论
收藏 99KB ZIP 举报
温馨提示
Go client for AMQP 0.9.1
资源推荐
资源详情
资源评论
收起资源包目录
Go client for AMQP 0.9.1.zip (43个子文件)
newname
return.go 2KB
read.go 9KB
connection_test.go 5KB
example_client_test.go 7KB
integration_test.go 45KB
go.mod 124B
delivery_test.go 929B
.travis.yml 339B
confirms.go 2KB
tls_test.go 9KB
allocator.go 2KB
consumers_test.go 522B
delivery.go 6KB
spec091.go 58KB
LICENSE 1KB
channel.go 48KB
CONTRIBUTING.md 1KB
spec
amqp0-9-1.stripped.extended.xml 23KB
gen.go 13KB
certs.sh 3KB
client_test.go 16KB
auth.go 2KB
_examples
simple-producer
producer.go 3KB
pubsub
pubsub.go 5KB
simple-consumer
consumer.go 4KB
read_test.go 529B
types.go 14KB
shared_test.go 2KB
doc.go 5KB
reconnect_test.go 3KB
allocator_test.go 2KB
uri_test.go 8KB
.gitignore 237B
uri.go 4KB
examples_test.go 12KB
consumers.go 3KB
write.go 8KB
pre-commit 1KB
confirms_test.go 3KB
README.md 4KB
gen.sh 89B
fuzz.go 238B
connection.go 23KB
共 43 条
- 1
资源评论
Lei宝啊
- 粉丝: 2048
- 资源: 1330
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功