chore: add backup app

This commit is contained in:
henry.chen
2021-07-14 10:54:30 +08:00
parent a15791a792
commit c1c9e6025a
10 changed files with 307 additions and 28 deletions

View File

@@ -0,0 +1,18 @@
// Package ping provides ...
package ping
import (
"net/http"
"github.com/gin-gonic/gin"
)
// RegisterRoutes register routes
func RegisterRoutes(group gin.IRoutes) {
group.GET("/ping", handlePing)
}
// handlePing ping
func handlePing(c *gin.Context) {
c.String(http.StatusOK, "it's ok")
}