mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
13771d1394
- database: added collection to var - website: changed gin.G to json type - api: status added cpu usage and move memory to stats - go: upgrade deps - update nodemon cfg and README
13 lines
170 B
Go
13 lines
170 B
Go
package routes
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func Index(c *gin.Context) {
|
|
c.JSON(http.StatusOK, map[string]interface{}{
|
|
"success": true,
|
|
})
|
|
}
|