Sends a status update to the worker server every 5 minutes. Also fixes a bug where the body the worker client sent would be empty if it had to refresh the JWT token. Instead of io.Reader use io.ReadSeeker so the body can be reread to create the second request (after the token refresh). |
||
|---|---|---|
| .. | ||
| api | ||
| clienterrors | ||
| client.go | ||
| client_test.go | ||
| json.go | ||
| json_test.go | ||
| proxy_test.go | ||
| server.go | ||
| server_test.go | ||