2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00
Files
panel/internal/http/request/request.go
2025-08-24 15:44:58 +08:00

26 lines
398 B
Go

package request
import (
"net/http"
)
type WithAuthorize interface {
Authorize(r *http.Request) error
}
type WithPrepare interface {
Prepare(r *http.Request) error
}
type WithRules interface {
Rules(r *http.Request) map[string]string
}
type WithFilters interface {
Filters(r *http.Request) map[string]string
}
type WithMessages interface {
Messages(r *http.Request) map[string]string
}