Documentation ¶
Index ¶
- func Unmarshal(response AcsResponse, httpResponse *http.Response, format string) (err error)
- type AcsResponse
- type BaseResponse
- func (baseResponse *BaseResponse) GetHttpContentBytes() []byte
- func (baseResponse *BaseResponse) GetHttpContentString() string
- func (baseResponse *BaseResponse) GetHttpHeaders() map[string][]string
- func (baseResponse *BaseResponse) GetHttpStatus() int
- func (baseResponse *BaseResponse) GetOriginHttpResponse() *http.Response
- func (baseResponse *BaseResponse) IsSuccess() bool
- func (baseResponse *BaseResponse) String() string
- type CommonResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AcsResponse ¶
type BaseResponse ¶
type BaseResponse struct {
// contains filtered or unexported fields
}
func (*BaseResponse) GetHttpContentBytes ¶
func (baseResponse *BaseResponse) GetHttpContentBytes() []byte
func (*BaseResponse) GetHttpContentString ¶
func (baseResponse *BaseResponse) GetHttpContentString() string
func (*BaseResponse) GetHttpHeaders ¶
func (baseResponse *BaseResponse) GetHttpHeaders() map[string][]string
func (*BaseResponse) GetHttpStatus ¶
func (baseResponse *BaseResponse) GetHttpStatus() int
func (*BaseResponse) GetOriginHttpResponse ¶
func (baseResponse *BaseResponse) GetOriginHttpResponse() *http.Response
func (*BaseResponse) IsSuccess ¶
func (baseResponse *BaseResponse) IsSuccess() bool
func (*BaseResponse) String ¶
func (baseResponse *BaseResponse) String() string
type CommonResponse ¶
type CommonResponse struct {
*BaseResponse
}
func NewCommonResponse ¶
func NewCommonResponse() (response *CommonResponse)
Click to show internal directories.
Click to hide internal directories.