Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-10-22 19:32:31 +00:00
parent df88da842a
commit 036979282a
6 changed files with 38 additions and 4 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{}{
"type": "signup",
"user": "john",
"id": "1",
"type": "signup",
},
Topic: "events",
})