Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrHTTPCode = 599
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type Context ¶
func (*Context) BindAndValidate ¶
BindAndValidate bind and validate form input then return error in human readable strings
func (*Context) BindJSONAndValidate ¶
BindJSONAndValidate bind and validate json input then return error in human-readable strings
func (*Context) CreateResponseError ¶
func (*Context) CreateResponseSuccess ¶
func (c *Context) CreateResponseSuccess(v interface{})
CreateResponseSuccess create default response from struct
type CustomBinder ¶
type CustomBinder struct{}
Click to show internal directories.
Click to hide internal directories.