package
1.12.6
Repository: https://github.com/go-dev-frame/sponge.git
Documentation: pkg.go.dev

# README

handlerfunc

Commonly used public handlers.


Example of use

	r := gin.New()
	r.GET("/health", handlerfunc.CheckHealth)
	r.GET("/ping", handlerfunc.Ping)

# Functions

BrowserRefresh solve vue using history route 404 problem, for system file.
BrowserRefreshFS solve vue using history route 404 problem, for embed.FS.
CheckHealth check healthy.
ListCodes list error codes info @Summary list error codes info @Description list error codes info @Tags system @Accept json @Produce json @Router /codes [get].
Ping ping @Summary ping @Description ping @Tags system @Accept json @Produce json @Router /ping [get].

# Structs

CheckHealthReply check health result.