Skip to main content

handler.go

handler.go - Overview

  1. Overview This file defines the status types for health checks within the query service.

  2. 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