Private
Public Access
JIJO recupere el codigo dsps que de claude nukee mi repo LETS GOOO
This commit is contained in:
1 parent
a35539590a
commit
6c1bc50089
24 files changed
+1260
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"repuestera_back/controllers/auth"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func AuthRoute(r *gin.Engine) {
|
||||
authGroup := r.Group("/auth")
|
||||
{
|
||||
authGroup.POST("/login", auth.Login)
|
||||
authGroup.POST("/register", auth.Register)
|
||||
authGroup.POST("/refresh", auth.Refresh)
|
||||
authGroup.GET("/me", auth.Me)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user