Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseError ¶
type ResponseError struct { Code int64 `json:"code,omitempty"` Message string `json:"message,omitempty"` MessageCn string `json:"message_cn,omitempty"` Errors []model.ApiErrorStruct `json:"errors,omitempty"` // contains filtered or unexported fields }
ResponseError ...
func NewError ¶
func NewError(code *int64, message *string, messageCn *string, errors []model.ApiErrorStruct) ResponseError
NewError ...
type ResponseStrictError ¶
type ResponseStrictError struct {
Errors string
}
ResponseError ...
func NewResponseStrictError ¶
func NewResponseStrictError(errors string) ResponseStrictError
NewResponseStrictError ...
Click to show internal directories.
Click to hide internal directories.