Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseConsumer ¶
Types ¶
type Consumer ¶
type Consumer interface { io.Closer StartConsuming( handler rabbitmq.Handler, queue string, routingKeys []string, optionFuncs ...func(*rabbitmq.ConsumeOptions), ) error }
Consumer is just an interface for the library consumer which doesn't have one.
func NewConsumer ¶
type Listener ¶
type Listener interface { //Start listening queues Start( ctx context.Context, consumer Consumer, config *config.QueueConfig, handler handler.Handler, ) error }
Listener represents the consumer wrapper with the method to start listening for all events for this service
func NewListener ¶
func NewListener() Listener
type ListenerImpl ¶
type ListenerImpl struct { }
Directories
¶
Path | Synopsis |
---|---|
mocks
Package handler is a generated GoMock package.
|
Package handler is a generated GoMock package. |
Package mock_queue is a generated GoMock package.
|
Package mock_queue is a generated GoMock package. |
mocks
Package publisher is a generated GoMock package.
|
Package publisher is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.