health

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 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 "{"code": 200, "data": {"ping": "pong"}}" @Router /api/v1/health/ping [post]

func Status added in v1.1.3

func Status(c *gin.Context)

@Tags health @Summary check health status @Accept application/json @Produce application/json @Success 200 {string} string "{"code": 200, "data": "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