Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MSPNormalStateHTTPStatusCode ... MSPNormalStateHTTPStatusCode int64 = 1001 )
Variables ¶
View Source
var DefaultMSPNormalizeListPaginateParams = MSPNormalizeListPaginateParams{
Page: 1,
LimitNum: 20,
}
DefaultMSPNormalizeListPaginateParams ...
Functions ¶
Types ¶
type HTTPWrapContext ¶
HTTPWrapContext ...
type HTTPWrapErrorResponse ¶
type HTTPWrapErrorResponse struct {
Msg string `json:"msg,omitempty"`
ErrCode HTTPErrCode `json:"errCode,omitempty"`
}
HTTPWrapErrorResponse ...
type HTTPWrapHandler ¶
type HTTPWrapHandler func(c *HTTPWrapContext) (interface{}, error)
HTTPWrapHandler ...
type MSPNormalizeHTTPResponseBody ¶
type MSPNormalizeHTTPResponseBody struct {
Code int64 `json:"code"`
Data interface{} `json:"data"`
Message string `json:"message"`
}
MSPNormalizeHTTPResponseBody ...
type MSPNormalizeList ¶
type MSPNormalizeList struct {
List interface{} `json:"list"`
Paginate MSPNormalizePaginate `json:"paginate"`
}
MSPNormalizeList ...
type MSPNormalizeListPaginateParams ¶
type MSPNormalizeListPaginateParams struct {
Page int `json:"page" form:"page"`
LimitNum int `json:"limit_num" form:"limit_num"`
}
MSPNormalizeListPaginateParams ...
type MSPNormalizePaginate ¶
type MSPNormalizePaginate struct {
Total int64 `json:"total"`
Current int `json:"current"`
PageSize int `json:"pageSize"`
}
MSPNormalizePaginate ...
Click to show internal directories.
Click to hide internal directories.