Documentation ¶
Index ¶
Constants ¶
View Source
const MIME string = "application/json"
Variables ¶
This section is empty.
Functions ¶
func ErrorResult ¶
Types ¶
type ClinetInfo ¶
type ClinetInfo struct { SdkVersion string `json:"sdkVersion"` CfgVersion string `json:"cfgVersion"` UserType string `json:"userType"` UserId string `json:"userId"` UserNick string `json:"userNick"` Avatar string `json:"avatar"` Imei string `json:"imei"` Imsi string `json:"imsi"` Umid string `json:"umid"` Ip string `json:"ip"` Os string `json:"os"` Channel string `json:"channel"` HostAppName string `json:"hostAppName"` HostPackage string `json:"hostPackage"` HostVersion string `json:"hostVersion"` }
type DefaultClient ¶
type DefaultClient struct {
Profile Profile
}
func (DefaultClient) GetResponse ¶
func (defaultClient DefaultClient) GetResponse(path string, clinetInfo ClinetInfo, bizData interface{}) string
type IAliYunClient ¶
type IAliYunClient interface {
GetResponse(path string, clinetInfo ClinetInfo, bizData interface{}) string
}
Click to show internal directories.
Click to hide internal directories.