Register the custom middleware function to the worker server. This function is responsible for recording all the status codes of all the server's endpoints. Due to a bug with echo/v4, a request to an endpoint using the incorrect method should return a `405` error but returns a `404` error instead when a middleware function is registered. The worker `server_test` has been updated to reflect this. |
||
|---|---|---|
| .. | ||
| api | ||
| clienterrors | ||
| client.go | ||
| client_test.go | ||
| json.go | ||
| json_test.go | ||
| proxy_test.go | ||
| server.go | ||
| server_test.go | ||