mq

package
v0.0.0-...-032b0eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(sync bool, topic string, payload []byte) (status bool, retErr error)

Types

type Message

type Message struct {
	C <-chan pulsar.Message
}

consume message

func Receive

func Receive(topic, subName, mod string) *Message

listen topic and return message get message e.g: <- message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL