You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package response
|
|
|
|
|
|
|
|
type Response struct {
|
|
|
|
Code int `json:"code"`
|
|
|
|
Message string `json:"message"`
|
|
|
|
Data interface{} `json:"data"`
|
|
|
|
Total int64 `json:"total"`
|
|
|
|
Page int64 `json:"page"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetResponse struct {
|
|
|
|
Code int `json:"code"`
|
|
|
|
Message string `json:"message"`
|
|
|
|
Data interface{} `json:"data"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Data struct {
|
|
|
|
Size string `json:"size"`
|
|
|
|
KeyName string `json:"keyName"`
|
|
|
|
Line string `json:"line"`
|
|
|
|
Machine string `json:"machine"`
|
|
|
|
CreateTime string `json:"createTime"`
|
|
|
|
UploadTime string `json:"uploadTime"`
|
|
|
|
|
|
|
|
Url string `json:"url"`
|
|
|
|
Tags []Tag `json:"tags"`
|
|
|
|
}
|
|
|
|
type Tag struct {
|
|
|
|
Key string `json:"key"`
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|