bigest part of the api done
This commit is contained in:
9
controllers/authentication/setup.go
Normal file
9
controllers/authentication/setup.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package authentication
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func Setup(r *gin.RouterGroup) {
|
||||
r.GET("/logout", Logout)
|
||||
r.POST("/login", Login)
|
||||
r.POST("/register", Register)
|
||||
}
|
||||
Reference in New Issue
Block a user