mig/vendor/github.com/streadway/amqp
Julien Vehent 9759ad2c70 [minor] vendoring update 2016-03-18 15:10:46 -04:00
..
_examples [minor] vendoring update 2015-11-16 17:42:45 -05:00
spec [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
.gitignore [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
.travis.yml [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
LICENSE [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
README.md [minor] vendoring update 2015-11-16 17:42:45 -05:00
allocator.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
allocator_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
auth.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
certs.sh [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
channel.go [minor] vendoring update 2016-03-18 15:10:46 -04:00
client_test.go [minor] vendoring update 2015-11-16 17:42:45 -05:00
confirms.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
confirms_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
connection.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
consumers.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
delivery.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
delivery_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
doc.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
examples_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
fuzz.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
gen.sh [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
integration_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
read.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
read_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
reconnect_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
return.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
shared_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
spec091.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
tls_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
types.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
uri.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
uri_test.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00
write.go [major] reorganize repository structure for `go get mig.ninja/mig` 2015-08-25 18:01:22 -04:00

README.md

AMQP

AMQP 0.9.1 client with RabbitMQ extensions in Go.

Status

Beta

Build Status

API changes unlikely and will be discussed on Github issues along with any bugs or enhancements.

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 pacakge.

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 for reference and usage.

RabbitMQ tutorials in 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.

External packages

License

BSD 2 clause - see LICENSE for more details.