UpdateHealthStatus updates the server's health status so it can start accepting requests.
(ok bool)
| 28 | |
| 29 | // UpdateHealthStatus updates the server's health status so it can start accepting requests. |
| 30 | func UpdateHealthStatus(ok bool) { |
| 31 | setStatus(&healthCheck, ok) |
| 32 | } |
| 33 | |
| 34 | // UpdateDrainingMode updates the server's draining mode |
| 35 | func UpdateDrainingMode(enable bool) { |