diff --git a/conn.go b/conn.go index 51e26e2..c7fa801 100644 --- a/conn.go +++ b/conn.go @@ -11,7 +11,7 @@ import ( "time" ) -// Connection defaults +// Default connection options const ( DefaultMaxFrameSize = 512 DefaultIdleTimeout = 1 * time.Minute diff --git a/doc.go b/doc.go new file mode 100644 index 0000000..6e46b1d --- /dev/null +++ b/doc.go @@ -0,0 +1,10 @@ +/* +Package amqp provides an AMQP 1.0 client implementation. + +AMQP 1.0 is not compatible with AMQP 0-9-1 or 0-10, which are +the most common AMQP protocols in use today. + +The example below shows how to use this package to connect +to a Microsoft Azure Service Bus queue. +*/ +package amqp // import "pack.ag/amqp"