Registry / messaging / pubsub-rabbitpubsub

pubsub-rabbitpubsub

JSON →
library0.46.0gogounverified

RabbitPubSub provides a pub/sub implementation for RabbitMQ using the Go CDK.

go get gocloud.dev/pubsub/rabbitpubsub
INSTALL
IMPORT
SIG · PUBSUB-RABBITPUBSU
P
pubsub-rabbitpubsub
messaginggov0.46.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rabbitpubsub
gocloud.dev/pubsub/rabbitpubsub

Open a RabbitMQ subscription and receive a message.

package main import ( "context" "fmt" "gocloud.dev/pubsub/rabbitpubsub" ) func main() { ctx := context.Background() sub, err := rabbitpubsub.OpenSubscription(ctx, "amqp://guest:guest@localhost:5672/", "myqueue", nil) if err != nil { panic(err) } msg, _ := sub.Receive(ctx) fmt.Println(string(msg.Body)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.46.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
pubsub-rabbitpubsub — go get pubsub-rabbitpubsub · libregistry