handle

package
v0.0.0-...-ea14be2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CfgHealthHandler = fx.Invoke(func(g *gin.Engine) {
	g.GET("health", func(c *gin.Context) {
		c.JSON(http.StatusOK, gin.H{
			"time":   time.Now().Format("2006-01-02 15:04:05"),
			"status": "ok",
		})
	})
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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