Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpResult ¶
HttpResult HTTP Result
func ParamErrorResult ¶
ParamErrorResult Param Error Result
Types ¶
type ResponseErrorBean ¶
func Error ¶
func Error(errCode uint32, errMsg string) *ResponseErrorBean
type ResponseSuccessBean ¶
type ResponseSuccessBean struct {
Code uint32 `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data,omitempty"`
}
func Success ¶
func Success(data interface{}) *ResponseSuccessBean
Click to show internal directories.
Click to hide internal directories.