MCPcopy Create free account

hub / github.com/streadway/amqp / functions

Functions616 in github.com/streadway/amqp

FunctionExample
This exports a Session object that wraps this library. It automatically reconnects when the connection fails, and blocks all pushes until the connecti
example_client_test.go:22
FunctionExampleChannel_Confirm_bridge
()
examples_test.go:107
FunctionExampleChannel_Consume
()
examples_test.go:210
FunctionExampleChannel_Publish
()
examples_test.go:328
FunctionExampleConfig_timeout
()
examples_test.go:15
FunctionExampleConnection_NotifyBlocked
()
examples_test.go:377
FunctionExampleConnection_reconnect
()
reconnect_test.go:45
FunctionExampleDialTLS
()
examples_test.go:28
MethodExchangeBind
* ExchangeBind binds an exchange to another exchange to create inter-exchange routing topologies on the server. This can decouple the private topolog
channel.go:1245
MethodExchangeUnbind
* ExchangeUnbind unbinds the destination exchange from the source exchange on the server by removing the routing key between them. This is the invers
channel.go:1276
MethodFieldsets
Groups the fields so that the right encoder/decoder can be called
spec/gen.go:377
FunctionFuzz
(data []byte)
fuzz.go:7
MethodGenerate
(r *rand.Rand, _ int)
integration_test.go:740
MethodGenerate
(r *rand.Rand, _ int)
integration_test.go:754
MethodHasField
(field string, method Method)
spec/gen.go:420
MethodHasType
(typ string, method Method)
spec/gen.go:410
MethodIsError
()
spec/gen.go:353
MethodIsSoftError
()
spec/gen.go:357
MethodLess
(i, j int)
types.go:261
MethodMechanism
Mechanism returns "PLAIN"
auth.go:26
MethodMechanism
Mechanism returns "AMQPLAIN"
auth.go:42
MethodNack
* Nack negatively acknowledges a delivery by its delivery tag. Prefer this method to notify the server that you were not able to process this deliver
channel.go:1567
MethodNack
* Nack negatively acknowledge the delivery of message(s) identified by the delivery tag from either the client or server. When multiple is true, nack
delivery.go:168
MethodPartial
(prefix string, fields []fieldset)
spec/gen.go:361
MethodPop
()
types.go:264
MethodPublish
publish increments the publishing counter
confirms.go:31
MethodPush
(tag interface{})
types.go:263
MethodQueueUnbind
* QueueUnbind removes a binding between an exchange and queue matching the key and arguments. It is possible to send and empty string for the exchang
channel.go:924
MethodRead
(p []byte)
shared_test.go:39
MethodReject
* Reject negatively acknowledges a delivery by its delivery tag. Prefer Nack over Reject when communicating with a RabbitMQ server because you can Na
channel.go:1585
MethodReject
* Reject delegates a negatively acknowledgement through the Acknowledger interface. When requeue is true, queue this message to be delivered to a con
delivery.go:143
MethodResponse
Response returns the null character delimited encoding for the SASL PLAIN Mechanism.
auth.go:31
MethodResponse
Response returns the null character delimited encoding for the SASL PLAIN Mechanism.
auth.go:47
MethodStream
Stream will continuously put queue items on the channel. It is required to call delivery.Ack when it has been successfully processed, or delivery.Nack
example_client_test.go:256
MethodString
String returns a string describing the contents of the allocator like "allocator[low..high] reserved..until" O(N) where N is high-low
allocator.go:40
MethodStructName
(parts ...string)
spec/gen.go:486
MethodSwap
(i, j int)
types.go:262
MethodTag
(d Domain)
spec/gen.go:472
FunctionTestAckZeroValueAcknowledgerDoesNotPanic
A closed delivery chan could produce zero value. Ack/Nack/Reject on these deliveries can produce a nil pointer panic. Instead return an error when t
delivery_test.go:14
FunctionTestAllocatorFirstShouldBeTheLow
(t *testing.T)
allocator_test.go:8
FunctionTestAllocatorReleasesKeepUpWithAllocationsForAllSizes
(t *testing.T)
allocator_test.go:74
FunctionTestAllocatorShouldBeBoundByHigh
(t *testing.T)
allocator_test.go:19
FunctionTestAllocatorShouldReuseReleased
(t *testing.T)
allocator_test.go:48
FunctionTestAllocatorStringShouldIncludeAllocatedRanges
(t *testing.T)
allocator_test.go:33
FunctionTestChannelCounterShouldNotPanicIssue136
https://github.com/streadway/amqp/issues/136
integration_test.go:1551
FunctionTestChannelExceptionWithCloseIssue43
https://github.com/streadway/amqp/issues/43
integration_test.go:1441
FunctionTestChannelOpen
(t *testing.T)
client_test.go:261
FunctionTestChannelOpenOnAClosedConnectionFails
(t *testing.T)
connection_test.go:39
FunctionTestChannelOpenOnAClosedConnectionFails_ReleasesAllocatedChannel
TestChannelOpenOnAClosedConnectionFails_ReleasesAllocatedChannel ensures the channel allocated is released if opening the channel fails.
connection_test.go:51
FunctionTestChannelReturnsCloseRace
TestChannelReturnsCloseRace ensures that receiving a basicReturn frame and sending the notification to the bound channel does not race with channel.sh
client_test.go:634
FunctionTestConcurrentChannelAndConnectionClose
(t *testing.T)
integration_test.go:1751
FunctionTestConcurrentClose
(t *testing.T)
connection_test.go:121
FunctionTestConfirmMixedResequences
(t *testing.T)
confirms_test.go:45
FunctionTestConfirmMultipleOrdersDeliveryTags
(t *testing.T)
client_test.go:336
FunctionTestConfirmMultipleResequences
(t *testing.T)
confirms_test.go:79
FunctionTestConfirmOneResequences
(t *testing.T)
confirms_test.go:8
FunctionTestConfirmsIsThreadSafe
(t *testing.T)
confirms_test.go:121
FunctionTestConsumerCancelNotification
(t *testing.T)
integration_test.go:1713
FunctionTestCorruptedMessageIssue7
https://github.com/streadway/amqp/issues/7
integration_test.go:1494
FunctionTestCustomClientProperties
(t *testing.T)
client_test.go:222
FunctionTestDeadlockConsumerIssue48
https://github.com/streadway/amqp/issues/48
integration_test.go:1356
FunctionTestDeclareArgsRejectToDeadLetterQueue
Sets up the topology where rejected messages will be forwarded to a fanout exchange, with a single queue bound. Relates to https://github.com/streadw
integration_test.go:1279
FunctionTestDeclareArgsXMessageTTL
Declares a queue with the x-message-ttl extension to exercise integer serialization. Relates to https://github.com/streadway/amqp/issues/60
integration_test.go:1260
FunctionTestDefaultClientProperties
(t *testing.T)
client_test.go:197
FunctionTestDefaultConnectionLocale
(t *testing.T)
connection_test.go:31
FunctionTestExchangeDeclarePrecondition
(t *testing.T)
integration_test.go:1576
FunctionTestExchangePassiveOnMissingExchangeShouldError
https://github.com/streadway/amqp/issues/94
integration_test.go:121
FunctionTestGeneratedUniqueConsumerTagDoesNotExceedMaxLength
(t *testing.T)
consumers_test.go:8
FunctionTestGoFuzzCrashers
(t *testing.T)
read_test.go:8
FunctionTestIntegrationBasicQueueOperations
(t *testing.T)
integration_test.go:298
FunctionTestIntegrationCancel
(t *testing.T)
integration_test.go:1134
FunctionTestIntegrationChannelClosing
(t *testing.T)
integration_test.go:445
FunctionTestIntegrationChannelIDsExhausted
(t *testing.T)
integration_test.go:425
FunctionTestIntegrationConfirm
(t *testing.T)
integration_test.go:1163
FunctionTestIntegrationConnectionNegotiatesClientMaxChannels
(t *testing.T)
integration_test.go:411
FunctionTestIntegrationConnectionNegotiatesMaxChannels
(t *testing.T)
integration_test.go:397
FunctionTestIntegrationConsumeCancel
(t *testing.T)
integration_test.go:703
FunctionTestIntegrationConsumeFlow
(t *testing.T)
integration_test.go:634
FunctionTestIntegrationExchange
(t *testing.T)
integration_test.go:186
FunctionTestIntegrationExchangeDeclarePassiveOnDeclaredShouldNotError
https://github.com/streadway/amqp/issues/94
integration_test.go:147
FunctionTestIntegrationGetEmpty
(t *testing.T)
integration_test.go:1024
FunctionTestIntegrationGetOk
(t *testing.T)
integration_test.go:998
FunctionTestIntegrationHighChannelChurnInTightLoop
(t *testing.T)
integration_test.go:50
FunctionTestIntegrationLocalAddr
(t *testing.T)
integration_test.go:98
FunctionTestIntegrationMeaningfulChannelErrors
(t *testing.T)
integration_test.go:519
FunctionTestIntegrationNonBlockingClose
https://github.com/streadway/amqp/issues/6
integration_test.go:558
FunctionTestIntegrationOpenClose
(t *testing.T)
integration_test.go:28
FunctionTestIntegrationOpenCloseChannel
(t *testing.T)
integration_test.go:38
FunctionTestIntegrationOpenConfig
(t *testing.T)
integration_test.go:64
FunctionTestIntegrationOpenConfigWithNetDial
(t *testing.T)
integration_test.go:81
FunctionTestIntegrationPassiveQueue
https://github.com/streadway/amqp/issues/94
integration_test.go:250
FunctionTestIntegrationPublishConsume
(t *testing.T)
integration_test.go:605
FunctionTestIntegrationPublishFlow
This test is driven by a private API to simulate the server sending a channelFlow message
integration_test.go:697
FunctionTestIntegrationQueueDeclarePassiveOnMissingExchangeShouldError
https://github.com/streadway/amqp/issues/94
integration_test.go:225
FunctionTestIntegrationRecoverNotImplemented
(t *testing.T)
integration_test.go:680
FunctionTestIntegrationReturn
(t *testing.T)
integration_test.go:1107
FunctionTestIntegrationTxCommit
(t *testing.T)
integration_test.go:1045
FunctionTestIntegrationTxRollback
(t *testing.T)
integration_test.go:1076
FunctionTestIsClosed
TestIsClosed will test the public method IsClosed on a connection.
connection_test.go:183
FunctionTestLeakClosedConsumersIssue264
TestLeakClosedConsumersIssue264 ensures that closing a consumer with prefetched messages does not leak the buffering goroutine.
client_test.go:661
← previousnext →201–300 of 616, ranked by callers