Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicecui committed Aug 31, 2024
1 parent 0b02665 commit d1c97fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/user-guide/ingest-data/for-iot/grpc-sdks/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cfg := greptime.NewConfig("127.0.0.1").
// Enable secure connection if your server is secured by TLS
// WithInsecure(false).
// set authentication information
// If the database doesn't require authentication, just leave the username and password empty
// If the database doesn't require authentication, just remove the WithAuth method
WithAuth("username", "password")

cli, _ := greptime.NewClient(cfg)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cfg := greptime.NewConfig("127.0.0.1").
// 如果服务配置了 TLS ,设置 TLS 选项来启用安全连接
// WithInsecure(false).
// 设置鉴权信息
// 如果数据库不需要鉴权,将用户名和密码留空即可
// 如果数据库不需要鉴权,移除 WithAuth 方法即可
WithAuth("username", "password")

cli, _ := greptime.NewClient(cfg)
Expand Down

0 comments on commit d1c97fd

Please sign in to comment.