mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-27 21:38:06 +00:00
* Update main.go, extensions.go, and 2 more files... * Update config_routes.go, entries_routes.go, and 7 more files...
16 lines
329 B
Go
16 lines
329 B
Go
package routes
|
|
|
|
import (
|
|
"github.com/up9inc/mizu/agent/pkg/controllers"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func UserRoutes(ginApp *gin.Engine) {
|
|
routeGroup := ginApp.Group("/user")
|
|
|
|
routeGroup.POST("/login", controllers.Login)
|
|
routeGroup.POST("/logout", controllers.Logout)
|
|
routeGroup.POST("/register", controllers.Register)
|
|
}
|