Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pungyeon/go-rabbitmq-example
/ functions
Functions
14 in github.com/Pungyeon/go-rabbitmq-example
⨍
Functions
14
◇
Types & classes
2
↓ 5 callers
Function
getExchangeName
()
lib/event/event.go:7
↓ 2 callers
Function
NewEventEmitter
NewEventEmitter returns a new event.Emitter object ensuring that the object is initialised, without error
lib/event/emitter.go:49
↓ 2 callers
Method
Push
Push (Publish) a specified message to the AMQP exchange
lib/event/emitter.go:25
↓ 2 callers
Function
declareExchange
(ch *amqp.Channel)
lib/event/event.go:22
↓ 1 callers
Method
Listen
Listen will listen for all new Queue publications and print them to the console.
lib/event/consumer.go:38
↓ 1 callers
Function
declareRandomQueue
(ch *amqp.Channel)
lib/event/event.go:11
↓ 1 callers
Method
setup
()
lib/event/consumer.go:15
↓ 1 callers
Method
setup
()
lib/event/emitter.go:14
Function
NewConsumer
NewConsumer returns a new Consumer
lib/event/consumer.go:24
Function
TestConsumerCreatSuccess
(t *testing.T)
lib/event/event_test.go:39
Function
TestEmitterCreateSuccess
(t *testing.T)
lib/event/event_test.go:9
Function
TestEmitterPushSuccess
(t *testing.T)
lib/event/event_test.go:21
Function
main
()
consumer/consumer.go:10
Function
main
()
sender/sender.go:11