health

package
v2.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AppName = "health"
)
View Source
const (
	DEFAUL_HEALTH_PATH = "/healthz"
)

Variables

This section is empty.

Functions

func NewHealthCheckRequest

func NewHealthCheckRequest() *healthgrpc.HealthCheckRequest

Types

type HealthCheck added in v2.0.5

type HealthCheck struct {
	Path string `json:"path" yaml:"path" toml:"path" env:"HTTP_HEALTH_CHECK_PATH"`
}

type HealthCheckResponse

type HealthCheckResponse struct {
	Status string `json:"status"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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