Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Destroy ¶
func Destroy(messageQueue *MessageQueue)
Types ¶
type MessageQueue ¶
type MessageQueue struct {
// contains filtered or unexported fields
}
func (*MessageQueue) Publish ¶
func (messageQueue *MessageQueue) Publish(topic string, event *data_protocol.CloudEvent) error
func (*MessageQueue) Subscribe ¶
func (messageQueue *MessageQueue) Subscribe(group string, topic string, handler common.MessageHandler) error
func (*MessageQueue) UnSubscribe ¶
func (messageQueue *MessageQueue) UnSubscribe(group string, topic string) error
Click to show internal directories.
Click to hide internal directories.