File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ type Config struct {
92
92
Network *string // 需访问服务器的网络类型。例:inner,vpc
93
93
Suffix *string // endpoint 后缀
94
94
UserAgent *string // UserAgent
95
- ReadTimeout *int // 读超时
96
- ConnectTimeout *int // 连接超时
95
+ ReadTimeout *int // 读超时,单位:毫秒
96
+ ConnectTimeout *int // 连接超时,单位:毫秒
97
97
LocalAddr *string // 本地网卡 ip
98
98
HttpProxy *string // http 的代理
99
99
HttpsProxy *string // https 的代理
@@ -111,8 +111,8 @@ type RuntimeOptions struct {
111
111
MaxAttempts *int // 最大重试次数, 默认为 3
112
112
BackoffPolicy *string // 重试休眠策略,默认为 no
113
113
BackoffPeriod *int // 重试休眠时间, 默认为 1
114
- ReadTimeout *int // 读超时
115
- ConnectTimeout *int // 连接超时
114
+ ReadTimeout *int // 读超时,单位:毫秒
115
+ ConnectTimeout *int // 连接超时,单位:毫秒
116
116
LocalAddr *string // 本地网卡 ip
117
117
HttpProxy *string // http 的代理
118
118
HttpsProxy *string // https 的代理
Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ type Config struct {
91
91
Protocol *string // http or https
92
92
RegionId *string // region, such as cn-hangzhou
93
93
UserAgent *string // UserAgent
94
- ReadTimeout *int // read timeout
95
- ConnectTimeout *int // connect tiemout
94
+ ReadTimeout *int // read timeout,unit:millisecond
95
+ ConnectTimeout *int // connect tiemout,unit:millisecond
96
96
LocalAddr *string // the local network adapter ip
97
97
HttpProxy *string // http proxy
98
98
HttpsProxy *string // https proxy
@@ -110,8 +110,8 @@ type RuntimeOptions struct {
110
110
MaxAttempts *int // maximum number of retries, defaut: 3
111
111
BackoffPolicy *string // retry the sleep strategy, default: no
112
112
BackoffPeriod *int // retry the sleep time,default: 1
113
- ReadTimeout *int // read timeout
114
- ConnectTimeout *int // connect timeout
113
+ ReadTimeout *int // read timeout,unit:millisecond
114
+ ConnectTimeout *int // connect timeout,unit:millisecond
115
115
LocalAddr *string // the local network adapter ip
116
116
HttpProxy *string // http proxy
117
117
HttpsProxy *string // https proxy
You can’t perform that action at this time.
0 commit comments