Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
func (*RequestHandler) BindBody ¶
func (r *RequestHandler) BindBody(c *gin.Context, body interface{}) error
BindBody : 綁定 body
func (*RequestHandler) ValidValidation ¶
func (r *RequestHandler) ValidValidation(v *validation.Validation) error
ValidValidation : 驗證表單資訊
type RequestHandlerInterface ¶
type RequestHandlerInterface interface { //BindBody : 綁定 body BindBody(c *gin.Context, body interface{}) error //ValidValidation : 驗證表單資訊 ValidValidation(v *validation.Validation) error }
func NewRequestHandler ¶
func NewRequestHandler() RequestHandlerInterface
Click to show internal directories.
Click to hide internal directories.