Documentation
¶
Overview ¶
package health provides gRPC health server HTTP annotations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHealthz ¶
func AddHealthz(dst *serviceconfig.Service)
AddHealthz adds a /v1/healthz endpoint to the service binding to the grpc.health.v1.Health service:
- get /v1/healthz -> grpc.health.v1.Health.Check
- websocket /v1/healthz -> grpc.health.v1.Health.Watch
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.