Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Error ResponseError `json:"e"` Cost float64 `json:"cost"` Data interface{} `json:"data"` }
type ResponseError ¶
type SDK ¶
type SysParams ¶
type SysParams struct { Action string `json:"action"` ClientID string `json:"client_id"` AccessToken string `json:"access_token"` Format string `json:"format"` Timestamp string `json:"timestamp"` Version string `json:"version"` Sign string `json:"sign"` }
SysParams API定义的系统级别参数
type UploaderParam ¶
type UploaderParam struct { Title string `json:"title"` Tags string `json:"tags"` Desc string `json:"desc"` IP string `json:"ip"` CategoryID int64 `json:"category_id"` UserID string `json:"user_id"` AttrValues []interface{} `json:"attr_values"` MD5 string `json:"md5"` FileSize int64 `json:"file_size"` FileFormat string `json:"file_format"` }
Click to show internal directories.
Click to hide internal directories.