health

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

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

func NewServer

func NewServer() *health.Server

NewServer returns a new grpc.Health server.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL