Merge branch 'master' of ssh://github.com/micro/services

This commit is contained in:
Asim Aslam
2021-10-26 17:37:44 +01:00
3 changed files with 9 additions and 4 deletions

View File

@@ -105,8 +105,13 @@ type DescribeRequest struct {
}
type DescribeResponse struct {
Status string `json:"status"`
Timeout string `json:"timeout"`
// The function requested
Function *Func `json:"function"`
// The last known status of the function
Status string `json:"status"`
// The timeout for requests to the function
Timeout string `json:"timeout"`
// The time at which the function was updated
UpdateTime string `json:"updateTime"`
}

View File

@@ -76,5 +76,5 @@
"prepare": "npm run build"
},
"types": "index.d.ts",
"version": "1.0.569"
"version": "1.0.570"
}

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",
})