Fixed naming
This commit is contained in:
18
routes/utility_routes.go
Normal file
18
routes/utility_routes.go
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Created by VoidArtanis on 10/22/2017
|
||||
*/
|
||||
|
||||
package routes
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func RegisterUtilityRoutes(r *gin.Engine){
|
||||
registerRing(r)
|
||||
}
|
||||
|
||||
func registerRing(r *gin.Engine){
|
||||
// Ping test
|
||||
r.GET("/ping", func(c *gin.Context) {
|
||||
c.String(200, "pong")
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user