Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowInfomation ¶
func ShowInfomation(name string, info ...interface{})
ShowInfomation show defail information
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { StatusCode int `json:"-" xml:"-"` Request string `json:"request" xml:"request"` ErrorMsg string `json:"error" xml:"error"` }
ErrorResponse error response
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
func (*ErrorResponse) GetErrorMsg ¶
func (e *ErrorResponse) GetErrorMsg() string
GetErrorMsg get ErrorMsg from ErrorResponse
func (*ErrorResponse) GetRequest ¶
func (e *ErrorResponse) GetRequest() string
GetRequest get Request from ErrorResponse
func (*ErrorResponse) GetStatusCode ¶
func (e *ErrorResponse) GetStatusCode() int
GetStatusCode get StatusCode from ErrorResponse
Click to show internal directories.
Click to hide internal directories.