mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
15 lines
175 B
Go
15 lines
175 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)
|
||
|
}
|
||
|
}
|