Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageQueue ¶
type MessageQueue struct {
// contains filtered or unexported fields
}
func NewMessageQueue ¶
func NewMessageQueue( kafkaMQ miface.MessageQueue, natsMQ miface.MessageQueue, nsqMQ miface.MessageQueue, localMQ miface.MessageQueue, ) *MessageQueue
func (*MessageQueue) Publish ¶
func (m *MessageQueue) Publish(topic string, opts ...miface.PubOption) error
func (*MessageQueue) Subscribe ¶
func (m *MessageQueue) Subscribe( ctx context.Context, topic string, handler miface.SubResponseHandler, opts ...miface.SubOption, ) (miface.Subscription, error)
Click to show internal directories.
Click to hide internal directories.