mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 01:48:43 +08:00
26 lines
398 B
Go
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
|
|
}
|