Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-03 15:48:48 +00:00
parent aa66632bfa
commit 784e1a71d3
6 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/micro/services/clients/go/stream"
)
// SendMessage a message to the stream.
// Send a message to the stream.
func SendMessage() {
streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := streamService.SendMessage(&stream.SendMessageRequest{

View File

@@ -1,6 +1,6 @@
const { StreamService } = require("m3o/stream");
// SendMessage a message to the stream.
// Send a message to the stream.
async function sendMessage() {
let streamService = new StreamService(process.env.MICRO_API_TOKEN);
let rsp = await streamService.sendMessage({