health

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthModule

func HealthModule() fx.Option

HealthModule is a module that provides grpc health server for checking services status.

func ProvideHealthClient

func ProvideHealthClient(GRPClientConnectionBuilder grpcclient.ClientConnectionBuilder) (grpc_health_v1.HealthClient, error)

ProvideHealthClient creates instance of client to health server.

func ProvideHealthServer

func ProvideHealthServer(lifecycle fx.Lifecycle) *health.Server

ProvideHealthServer creates instance of health server.

func RegisterHealthServer

func RegisterHealthServer(srv *grpc.Server, healthsrv *health.Server)

RegisterHealthServer registers health server to grpc_health_v1 api and sets default statuses.

Types

This section is empty.

Jump to

Keyboard shortcuts

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