mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Merge branch 'master' of ssh://github.com/micro/services
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
@@ -76,5 +76,5 @@
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"types": "index.d.ts",
|
||||
"version": "1.0.569"
|
||||
"version": "1.0.570"
|
||||
}
|
||||
@@ -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",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user