Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-02 14:55:41 +00:00
parent ad9b51b20e
commit d8fe0a59a9
9 changed files with 7 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/micro/services/clients/go/mq"
)
// Publish a message to the mq. Specify a topic to group messages for a specific topic.
// Publish a message. Specify a topic to group messages for a specific topic.
func PublishAmessage() {
mqService := mq.NewMqService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := mqService.Publish(&mq.PublishRequest{

View File

@@ -1,6 +1,6 @@
const { MqService } = require("m3o/mq");
// Publish a message to the mq. Specify a topic to group messages for a specific topic.
// Publish a message. Specify a topic to group messages for a specific topic.
async function publishAmessage() {
let mqService = new MqService(process.env.MICRO_API_TOKEN);
let rsp = await mqService.publish({