Passport/pkg/server/ui/index.go

14 lines
275 B
Go
Raw Normal View History

2024-04-20 06:05:50 +00:00
package ui
import "github.com/gofiber/fiber/v2"
func MapUserInterface(A *fiber.App) {
pages := A.Group("/").Name("Pages")
2024-04-20 14:50:09 +00:00
pages.Get("/sign-up", signupPage)
2024-04-20 06:05:50 +00:00
pages.Get("/sign-in", signinPage)
2024-04-20 14:50:09 +00:00
pages.Post("/sign-up", signupAction)
pages.Post("/sign-in", signinAction)
2024-04-20 06:05:50 +00:00
}