Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-10-26 15:46:08 +00:00
parent 49596aefe8
commit be7166e1de
3 changed files with 2 additions and 5 deletions

View File

@@ -12,9 +12,9 @@ func PublishAmessage() {
streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := streamService.Publish(&stream.PublishRequest{
Message: map[string]interface{}{
"user": "john",
"id": "1",
"type": "signup",
"user": "john",
},
Topic: "events",
})