mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 22:33:23 +00:00
Sync async_nats work with master
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -77,3 +77,10 @@ type Function struct {
|
||||
Replicas uint64 `json:"replicas"`
|
||||
EnvProcess string `json:"envProcess"`
|
||||
}
|
||||
|
||||
// AsyncReport is the report from a function executed on a queue worker.
|
||||
type AsyncReport struct {
|
||||
FunctionName string `json:"name"`
|
||||
StatusCode int `json:"statusCode"`
|
||||
TimeTaken float64 `json:"timeTaken"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user