Documentation ¶
Index ¶
Constants ¶
View Source
const KeyRequestInit = "request_init"
View Source
const KeyRequestValidate = "request_validate"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware interface { Execute(*requests.Request) (int32, string) SetNext(Middleware) // contains filtered or unexported methods }
type RequestCheck ¶
type RequestCheck struct {
// contains filtered or unexported fields
}
func (*RequestCheck) SetNext ¶
func (r *RequestCheck) SetNext(next Middleware)
type RequestInit ¶
type RequestInit struct {
// contains filtered or unexported fields
}
func NewRequestInit ¶
func NewRequestInit(r *http.Request) *RequestInit
func (*RequestInit) SetNext ¶
func (r *RequestInit) SetNext(next Middleware)
type RequestValidate ¶
type RequestValidate struct {
// contains filtered or unexported fields
}
func (*RequestValidate) Execute ¶
func (r *RequestValidate) Execute(req *requests.Request) (int32, string)
func (*RequestValidate) SetNext ¶
func (r *RequestValidate) SetNext(next Middleware)
Click to show internal directories.
Click to hide internal directories.