handler.go
handler.go - Overview
-
Overview This file defines the status types for health checks within the query service.
-
Detailed Documentation
Status
- Purpose: Represents the health status of the service.
- Type:
int
Unavailable
- Purpose: Indicates the service is not able to handle requests.
- Type:
Status
- Value:
iota
(0)
Ready
- Purpose: Indicates the service is ready to handle requests.
- Type:
Status
- Value: Automatically assigned as the next
iota
(1)
Broken
- Purpose: Indicates that the healthcheck itself is broken, not serving HTTP.
- Type:
Status
- Value: Automatically assigned as the next
iota
(2)
Include in Getting Started: NO