customer/internal/interface/controller/http/account_internal/route.go

15 lines
438 B
Go
Raw Normal View History

2024-06-10 10:16:24 +00:00
package account_internal
import "github.com/gofiber/fiber/v2"
func (receiver *AccountInternalController) Register(router fiber.Router) {
router.Delete("/account/:userId", receiver.DeleteCurrent)
router.Get("/account/:userId", receiver.GetCurrent)
router.Patch("/account/:userId", receiver.SetVerificationStatus)
router.Get("/accounts", receiver.Pagination)
}
func (receiver *AccountInternalController) Name() string {
return ""
}