mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-11-04 17:31:17 +00:00
14 lines
213 B
Go
14 lines
213 B
Go
package api
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"gitlab.127-0-0-1.fr/vx3r/wg-gen-web/api/v1"
|
|
)
|
|
|
|
func ApplyRoutes(r *gin.Engine, private bool) {
|
|
api := r.Group("/api")
|
|
{
|
|
apiv1.ApplyRoutes(api, private)
|
|
}
|
|
}
|