Skip to content

Commit 34c38ba

Browse files
publish jdcloud-sdk-go version 0.0.10
1 parent 2795577 commit 34c38ba

22 files changed

Lines changed: 591 additions & 13 deletions

services/starshield/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 更新历史 #
2-
API版本:0.0.9
2+
API版本:0.0.10
33

44
| 发布时间 | 版本号 | 更新 | 说明 |
55
| ---------- | ------ | ------------- | -------------- |
6+
| 2023-05-15 | 0.0.10 | 数据概览返参指定具体Number类型:Number->Double ||
67
| 2023-03-14 | 0.0.9 | 调整证书列表、安全事件接口返参,调整浏览器缓存TTL、证书上传接口入参 ||
78
| 2023-03-01 | 0.0.8 | 调整数据概览、日志分析部分接口返回参数格式 ||
89
| 2023-03-01 | 0.0.7 | 提供关闭BOT接口 ||

services/starshield/apis/InstanceBandwidthAvg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ type InstanceBandwidthAvgResponse struct {
157157
}
158158

159159
type InstanceBandwidthAvgResult struct {
160-
Value int `json:"value"`
160+
Value float64 `json:"value"`
161161
}

services/starshield/apis/InstanceBandwidthP95.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ type InstanceBandwidthP95Response struct {
157157
}
158158

159159
type InstanceBandwidthP95Result struct {
160-
Value int `json:"value"`
160+
Value float64 `json:"value"`
161161
}

services/starshield/apis/InstanceRequestSum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ type InstanceRequestSumResponse struct {
157157
}
158158

159159
type InstanceRequestSumResult struct {
160-
Value int `json:"value"`
160+
Value float64 `json:"value"`
161161
}

services/starshield/apis/InstanceTrafficSum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ type InstanceTrafficSumResponse struct {
157157
}
158158

159159
type InstanceTrafficSumResult struct {
160-
Value int `json:"value"`
160+
Value float64 `json:"value"`
161161
}

services/starshield/apis/ZoneBandwidthAvg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ type ZoneBandwidthAvgResponse struct {
170170
}
171171

172172
type ZoneBandwidthAvgResult struct {
173-
Value int `json:"value"`
173+
Value float64 `json:"value"`
174174
}

services/starshield/apis/ZoneBandwidthP95.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ type ZoneBandwidthP95Response struct {
170170
}
171171

172172
type ZoneBandwidthP95Result struct {
173-
Value int `json:"value"`
173+
Value float64 `json:"value"`
174174
}

services/starshield/apis/ZoneRequestSum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ type ZoneRequestSumResponse struct {
170170
}
171171

172172
type ZoneRequestSumResult struct {
173-
Value int `json:"value"`
173+
Value float64 `json:"value"`
174174
}

services/starshield/apis/ZoneTrafficSum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ type ZoneTrafficSumResponse struct {
170170
}
171171

172172
type ZoneTrafficSumResult struct {
173-
Value int `json:"value"`
173+
Value float64 `json:"value"`
174174
}

services/starshield/client/StarshieldClient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewStarshieldClient(credential *core.Credential) *StarshieldClient {
4040
Credential: *credential,
4141
Config: *config,
4242
ServiceName: "starshield",
43-
Revision: "0.0.9",
43+
Revision: "0.0.10",
4444
Logger: core.NewDefaultLogger(core.LogInfo),
4545
}}
4646
}

0 commit comments

Comments
 (0)