Skip to content

Commit

Permalink
1.x update readme (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin0325 authored Jan 25, 2022
1 parent e0a4cfa commit 34098b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ go get -u github.com/nacos-group/nacos-sdk-go

```go
constant.ClientConfig{
TimeoutMs uint64 // timeout for requesting Nacos server, default value is 10000ms
TimeoutMs uint64 // timeout for requesting Nacos server, default value is 10000ms
NamespaceId string // the namespaceId of Nacos.When namespace is public, fill in the blank string here.
AppName string // the appName
Endpoint string // the endpoint for get Nacos server addresses
Expand Down
10 changes: 5 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ $ go get -u github.com/nacos-group/nacos-sdk-go
```go
constant.ClientConfig{
TimeoutMs uint64 // 请求Nacos服务端的超时时间,默认是10000ms
NamespaceId string // ACM的命名空间Id
AppName string // App名称
NamespaceId string // ACM的命名空间Id
AppName string // App名称
Endpoint string // 当使用ACM时,需要该配置. https://help.aliyun.com/document_detail/130146.html
RegionId string // ACM&KMS的regionId,用于配置中心的鉴权
AccessKey string // ACM&KMS的AccessKey,用于配置中心的鉴权
Expand All @@ -39,9 +39,9 @@ constant.ClientConfig{
Username string // Nacos服务端的API鉴权Username
Password string // Nacos服务端的API鉴权Password
LogDir string // 日志存储路径
LogLevel string // 日志默认级别,值必须是:debug,info,warn,error,默认值是info
LogSampling *ClientLogSamplingConfig // 日志采样配置
LogRollingConfig *ClientLogRollingConfig // 日志归档配置
LogLevel string // 日志默认级别,值必须是:debug,info,warn,error,默认值是info
LogSampling *ClientLogSamplingConfig // 日志采样配置
LogRollingConfig *ClientLogRollingConfig // 日志归档配置
}
```

Expand Down

0 comments on commit 34098b2

Please sign in to comment.