health

package
v0.0.0-...-304ffbb Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZeroString = "0"
)

Variables

This section is empty.

Functions

func Ping

func Ping(c *gin.Context)

@Tags health @Summary ping @Accept application/json @Produce application/json @Success 200 {string} string "{"ping": "pong"}" @Router /api/v1/health/ping [post]

func Status

func Status(c *gin.Context)

@Tags health @Summary check health status @Accept application/json @Produce application/json @Success 200 {string} string "0" @Router /api/v1/health/status [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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