feat: switch glide to govendor. (#186)
* feat: switch glide to govendor. * fix: testing
This commit is contained in:
12
vendor/gopkg.in/appleboy/gin-status-api.v1/status.go
generated
vendored
Normal file
12
vendor/gopkg.in/appleboy/gin-status-api.v1/status.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package status
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
api "gopkg.in/fukata/golang-stats-api-handler.v1"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// StatusHandler is gin handle for get system status.
|
||||
func StatusHandler(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, api.GetStats())
|
||||
}
|
||||
Reference in New Issue
Block a user