health

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewHealthCheckRequest

func NewHealthCheckRequest() *healthgrpc.HealthCheckRequest

Types

type HealthCheck

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