Help us shape the future of Go! Take the 2026 Go Developer Survey

health

package
v0.32.13 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(ctx context.Context, c *app.RequestContext)

Health 健康检查

func Liveness

func Liveness(ctx context.Context, c *app.RequestContext)

Liveness 存活检查

func Ping

func Ping(ctx context.Context, c *app.RequestContext)

Ping ping检查

func Readiness

func Readiness(ctx context.Context, c *app.RequestContext)

Readiness 就绪检查

func Version

func Version(ctx context.Context, c *app.RequestContext)

Version 版本信息(kit/version,-ldflags 注入;未注入时 version=dev)。 message 沿用统一响应信封;另附结构化字段供脚本/监控取用。

Types

This section is empty.

Jump to

Keyboard shortcuts

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