Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQueue ¶
func NewQueue(cfg *config.Configuration) (interfaces.Queue, error)
Types ¶
type Queue ¶
type Queue struct {
Conn rmq.Connection
Events rmq.Queue
Storage interfaces.Storage
Logger *logger.Logger
}
func (*Queue) ProduceEvent ¶
func (q *Queue) ProduceEvent(e structs.QueueEvent) error
func (*Queue) RunConsumer ¶
func (*Queue) StopConsumer ¶
Click to show internal directories.
Click to hide internal directories.