2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00
Files
panel/internal/http/request/request.go
2025-08-24 04:39:20 +08:00

26 lines
397 B
Go

package request
import (
"github.com/gofiber/fiber/v3"
)
type WithAuthorize interface {
Authorize(c fiber.Ctx) error
}
type WithPrepare interface {
Prepare(c fiber.Ctx) error
}
type WithRules interface {
Rules(c fiber.Ctx) map[string]string
}
type WithFilters interface {
Filters(c fiber.Ctx) map[string]string
}
type WithMessages interface {
Messages(c fiber.Ctx) map[string]string
}