Skip to content

Commit 5a06061

Browse files
author
xinfan.wu(吴歆帆)
committed
refact:update annotation
1 parent 8529f81 commit 5a06061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transport/options.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ type ClientOptions struct {
103103
addr string
104104
number int
105105
reconnectInterval int // reConnect Interval
106-
maxReconnectAttempts int // reconnectAttempts
106+
maxReconnectAttempts int // max reconnect attempts
107107
// tls
108108
sslEnabled bool
109109
tlsConfigBuilder TlsConfigBuilder
@@ -169,7 +169,7 @@ func WithClientTlsConfigBuilder(tlsConfigBuilder TlsConfigBuilder) ClientOption
169169
}
170170
}
171171

172-
// WithReconnectInterval @maxReconnectAttempts is max reconnect attempts.
172+
// WithReconnectAttempts @maxReconnectAttempts is max reconnect attempts.
173173
func WithReconnectAttempts(maxReconnectAttempts int) ClientOption {
174174
return func(o *ClientOptions) {
175175
if 0 < maxReconnectAttempts {

0 commit comments

Comments
 (0)