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"`
}
func NewHealth ¶
func NewHealth(hc *healthgrpc.HealthCheckResponse) *HealthCheckResponse
Click to show internal directories.
Click to hide internal directories.