Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-10-12 15:58:09 +00:00
parent fe0d0fff0b
commit 1ccfa41818

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{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "events",
})