Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-10-31 13:51:20 +00:00
parent 6411450031
commit 5c6ed49281
15 changed files with 663 additions and 663 deletions

View File

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