Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-09-22 10:47:55 +00:00
parent 81a68e4b15
commit a75181d100
9 changed files with 10 additions and 10 deletions

View File

@@ -11,9 +11,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",
})