mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
13 lines
167 B
Go
13 lines
167 B
Go
package api
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func ApplyRoutes(r *gin.Engine) {
|
|
api := r.Group("/api")
|
|
|
|
api.GET("/url", GetAll)
|
|
api.GET("/status", Status)
|
|
}
|