MCPcopy Index your code

hub / github.com/streadway/amqp / functions

Functions616 in github.com/streadway/amqp

↓ 103 callersMethodClose
* Close initiate a clean channel closure by sending a close message with the error code set to '200'. It is safe to call this method multiple times.
channel.go:428
↓ 90 callersMethodWrite
(b []byte)
shared_test.go:23
↓ 88 callersMethodRead
(b []byte)
shared_test.go:19
↓ 73 callersMethodChannel
* Channel opens a unique, concurrent server channel to process the bulk of AMQP messages. Any error from methods on this receiver will render the rec
connection.go:657
↓ 62 callersMethodread
(r io.Reader)
spec091.go:2736
↓ 56 callersFunctionreadShortstr
(r io.Reader)
read.go:93
↓ 55 callersFunctionwriteShortstr
(w io.Writer, s string)
write.go:239
↓ 52 callersFunctionintegrationConnection
Returns a connection to the AMQP if the AMQP_URL environment variable is set and a connection can be established.
integration_test.go:1800
↓ 48 callersMethodPublish
* Publish sends a Publishing from the client to an exchange on the server. When you want a single message to be delivered to a single queue, you can
channel.go:1326
↓ 40 callersMethodQueueDeclare
* QueueDeclare declares a queue to hold messages and deliver to consumers. Declaring creates a queue if it doesn't already exist, or ensures that an e
channel.go:751
↓ 27 callersMethodString
()
uri.go:137
↓ 27 callersFunctionhasProperty
Checks if this bit mask matches the flags bitset
read.go:330
↓ 25 callersMethodrecv
drops all but method frames expected on the given channel
client_test.go:96
↓ 24 callersMethodcall
Performs a request/response call for when the message is not NoWait and is specified as Synchronous.
channel.go:170
↓ 23 callersMethodConsume
* Consume immediately starts delivering queued messages. Begin receiving on the returned chan Delivery before any other operation on the Connection o
channel.go:1052
↓ 21 callersMethodsend
(channel int, m message)
client_test.go:67
↓ 15 callersMethodExchangeDeclare
* ExchangeDeclare declares an exchange on the server. If the exchange does not already exist, the server will create it. If the exchange exists, the
channel.go:1140
↓ 15 callersFunctionOpen
* Open accepts an already established connection, or other io.ReadWriteCloser as a transport. Use this method if you have established a TLS connectio
connection.go:223
↓ 14 callersFunctiondefaultConfig
()
client_test.go:28
↓ 14 callersFunctionnewSession
(t *testing.T)
client_test.go:46
↓ 13 callersMethodError
()
types.go:82
↓ 13 callersFunctionParseURI
ParseURI attempts to parse the given AMQP URI according to the spec. See http://www.rabbitmq.com/uri-spec.html. Default values for the fields are: S
uri.go:55
↓ 13 callersMethodsend
send calls Channel.sendOpen() during normal operation. After the channel has been closed, send calls Channel.sendClosed(), ensuring only 'channel.clo
channel.go:155
↓ 12 callersMethodAck
(tag uint64, multiple bool)
delivery.go:20
↓ 12 callersFunctionDial
Dial accepts a string in the AMQP URI format and returns a new Connection over TCP using PlainAuth. Defaults to a server heartbeat interval of 10 sec
connection.go:140
↓ 12 callersMethodconnectionOpen
()
client_test.go:178
↓ 11 callersFunctionreadTable
* Field tables are long strings that contain packed name-value pairs. The name-value pairs are encoded as short string defining the name, and octet
read.go:270
↓ 11 callersFunctionwriteTable
(w io.Writer, table Table)
write.go:403
↓ 10 callersMethodGet
* Get synchronously receives a single Delivery from the head of a queue from the server to the client. In almost all cases, using Channel.Consume wil
channel.go:1384
↓ 10 callersMethodValidate
Validate returns and error if any Go types in the table are incompatible with AMQP types.
types.go:253
↓ 10 callersMethodnext
Next reserves and returns the next available number out of the range between low and high. If no number is available, false is returned. O(N) worst
allocator.go:66
↓ 10 callersMethodtransition
(f func(*Channel, frame) error)
channel.go:337
↓ 9 callersFunctionDialConfig
DialConfig accepts a string in the AMQP URI format and a configuration for the transport and connection setup, returning a new Connection. Defaults t
connection.go:164
↓ 9 callersMethodNotifyPublish
* NotifyPublish registers a listener for reliable publishing. Receives from this chan for every publish after Channel.Confirm will be in order startin
channel.go:598
↓ 9 callersMethodOne
one confirms one publishing and all following in the publishing sequence
confirms.go:61
↓ 9 callersMethodQueueDelete
* QueueDelete removes the queue from the server including all bindings then purges the messages based on server configuration, returning the number of
channel.go:981
↓ 9 callersMethodreserve
reserve claims the bit if it is not already claimed, returning true if successfully claimed.
allocator.go:90
↓ 8 callersMethodConfirm
* Confirm puts this channel into confirm mode so that the client can ensure all publishings have successfully been received by the server. After ente
channel.go:1506
↓ 8 callersMethodNotifyClose
* NotifyClose registers a listener for when the server sends a channel or connection exception in the form of a Connection.Close or Channel.Close meth
channel.go:447
↓ 8 callersMethodchannelOpen
(id int)
client_test.go:192
↓ 8 callersFunctionintegrationURLFromEnv
* * Support for integration tests */
integration_test.go:1783
↓ 8 callersFunctionreadLongstr
(r io.Reader)
read.go:106
↓ 7 callersMethodListen
(l chan Confirmation)
confirms.go:23
↓ 7 callersMethodQueueBind
* QueueBind binds an exchange to a queue so that publishings to the exchange will be routed to the queue when the publishing routing key matches the b
channel.go:899
↓ 7 callersFunctionnewAllocator
NewAllocator reserves and frees integers out of a range between low and high. O(N) worst case space used, where N is maximum allocated, divided by si
allocator.go:27
↓ 7 callersFunctionwriteLongstr
(w io.Writer, s string)
write.go:255
↓ 6 callersMethodIsClosed
IsClosed returns true if the connection is marked as closed, otherwise false is returned.
connection.go:354
↓ 6 callersFunctionassertConsumeBody
(t *testing.T, messages <-chan Delivery, want []byte)
integration_test.go:1833
↓ 6 callersFunctionnewConfirms
newConfirms allocates a confirms
confirms.go:15
↓ 6 callersMethodsend
(f frame)
connection.go:358
↓ 6 callersMethodshutdown
(err *Error)
connection.go:386
↓ 5 callersMethodNack
(tag uint64, multiple bool, requeue bool)
delivery.go:21
↓ 5 callersMethodWriteFrame
(frame frame)
write.go:18
↓ 5 callersMethodcall
(req message, res ...message)
connection.go:661
↓ 5 callersMethodchannel
()
types.go:310
↓ 4 callersMethodExchangeDelete
* ExchangeDelete removes the named exchange from the server. When an exchange is deleted all queue bindings on the exchange are also deleted. If this
channel.go:1203
↓ 4 callersMethodMultiple
multiple confirms all publishings up until the delivery tag
confirms.go:74
↓ 4 callersMethodQos
* Qos controls how many messages or how many bytes the server will try to keep on the network for consumers before receiving delivery acks. The inten
channel.go:647
↓ 4 callersMethodReadFrame
* Reads a frame from an input stream and returns an interface that can be cast into one of the following: methodFrame PropertiesFrame bodyFr
read.go:46
↓ 4 callersMethodcancel
(tag string)
consumers.go:100
↓ 4 callersMethoddispatch
Eventually called via the state machine from the connection's reader goroutine, so assumes serialized access.
channel.go:274
↓ 4 callersMethodexpectAMQP
()
client_test.go:153
↓ 4 callersMethodgetContent
()
types.go:279
↓ 4 callersFunctionintegrationQueue
Returns a connection, channel and declares a queue when the AMQP_URL is in the environment
integration_test.go:1810
↓ 4 callersMethodsetContent
(properties, []byte)
types.go:280
↓ 4 callersFunctionwriteFrame
(w io.Writer, typ uint8, channel uint16, payload []byte)
write.go:210
↓ 3 callersMethodCancel
* Cancel stops deliveries to the consumer chan established in Channel.Consume and identified by consumer. Only use this method to cleanly stop receiv
channel.go:677
↓ 3 callersMethodClose
Close tears the connection down, taking the channel with it.
_examples/pubsub/pubsub.go:38
↓ 3 callersFunctionDialTLS
DialTLS accepts a string in the AMQP URI format and returns a new Connection over TCP using PlainAuth. Defaults to a server heartbeat interval of 10
connection.go:152
↓ 3 callersMethodNotifyCancel
* NotifyCancel registers a listener for basic.cancel methods. These can be sent from the server when a queue is deleted or when consuming from a mirr
channel.go:536
↓ 3 callersMethodNotifyReturn
* NotifyReturn registers a listener for basic.return methods. These can be sent from the server when a publish is undeliverable either from the manda
channel.go:515
↓ 3 callersMethodQueueDeclarePassive
* QueueDeclarePassive is functionally and parametrically equivalent to QueueDeclare, except that it sets the "passive" attribute to true. A passive q
channel.go:791
↓ 3 callersMethodReject
(tag uint64, requeue bool)
delivery.go:22
↓ 3 callersMethodconfirm
confirm confirms one publishing, increments the expecting delivery tag, and removes bookkeeping for that delivery tag.
confirms.go:41
↓ 3 callersMethodconnectionStart
()
client_test.go:157
↓ 3 callersMethodid
()
types.go:271
↓ 3 callersFunctionpick
(client, server int)
connection.go:847
↓ 3 callersMethodrelease
release frees the use of the number for another allocation
allocator.go:104
↓ 3 callersFunctionshouldNotPanic
(t *testing.T)
delivery_test.go:5
↓ 2 callersMethodClose
* Close requests and waits for the response to close the AMQP connection. It's advisable to use this message when publishing to ensure all kernel buf
connection.go:322
↓ 2 callersMethodExchangeDeclarePassive
* ExchangeDeclarePassive is functionally and parametrically equivalent to ExchangeDeclare, except that it sets the "passive" attribute to true. A pas
channel.go:1169
↓ 2 callersMethodFieldType
(field Field)
spec/gen.go:450
↓ 2 callersMethodFlow
* Flow pauses the delivery of messages to consumers on this channel. Channels are opened with flow control active, to open a channel with paused deli
channel.go:1474
↓ 2 callersMethodLen
()
types.go:260
↓ 2 callersMethodMechanism
()
auth.go:15
↓ 2 callersMethodTx
* Tx puts the channel into transaction mode on the server. All publishings and acknowledgments following this method will be atomically committed or
channel.go:1416
↓ 2 callersMethodcloseChannel
closeChannel releases and initiates a shutdown of the channel. All channel closures should be initiated here for proper channel lifecycle management
connection.go:646
↓ 2 callersMethodcloseWith
(err *Error)
connection.go:337
↓ 2 callersFunctioncommandNameBasedUniqueConsumerTag
(commandName string)
consumers.go:23
↓ 2 callersMethodconnectionTune
()
client_test.go:168
↓ 2 callersFunctionexport
(delim *regexp.Regexp, parts ...string)
spec/gen.go:502
↓ 2 callersFunctionintegrationRabbitMQ
Delegates to integrationConnection and only returns a connection if the product is RabbitMQ
integration_test.go:1823
↓ 2 callersFunctionmin
(a, b int)
connection.go:840
↓ 2 callersFunctionnewChannel
Constructs a new channel with the given framing rules
channel.go:78
↓ 2 callersFunctionnewDelivery
(channel *Channel, msg messageWithContent)
delivery.go:61
↓ 2 callersFunctionnewError
(code uint16, text string)
types.go:73
↓ 2 callersFunctionnewServer
(t *testing.T, serverIO, clientIO io.ReadWriteCloser)
client_test.go:36
↓ 2 callersMethodopen
Connection = open-Connection *use-Connection close-Connection open-Connection = C:protocol-header S:START C:START-OK *challenge S:TUNE C:
connection.go:703
↓ 2 callersFunctionpublic
(parts ...string)
spec/gen.go:498
↓ 2 callersFunctionreadField
* 'A': []interface{} 'D': Decimal 'F': Table 'I': int32 'S': string 'T': time.Time 'V': nil 'b': byte 'd': float64 'f': float32 'l': int64 's': int16
read.go:172
next →1–100 of 616, ranked by callers