2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

feat: 重命名主体项目

This commit is contained in:
2025-08-24 04:39:20 +08:00
parent de639d700f
commit 4daa98ef5c
9 changed files with 186 additions and 136 deletions

View File

@@ -1,25 +1,25 @@
package request
import (
"net/http"
"github.com/gofiber/fiber/v3"
)
type WithAuthorize interface {
Authorize(r *http.Request) error
Authorize(c fiber.Ctx) error
}
type WithPrepare interface {
Prepare(r *http.Request) error
Prepare(c fiber.Ctx) error
}
type WithRules interface {
Rules(r *http.Request) map[string]string
Rules(c fiber.Ctx) map[string]string
}
type WithFilters interface {
Filters(r *http.Request) map[string]string
Filters(c fiber.Ctx) map[string]string
}
type WithMessages interface {
Messages(r *http.Request) map[string]string
Messages(c fiber.Ctx) map[string]string
}