Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldon committed Jan 17, 2022
1 parent 11c446a commit 01a33dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ func main() {
// 初始化 OPB 网关账号(测试网环境设置为 nil 即可)
authToken := model.NewAuthToken("TestProjectID", "TestProjectKey", "TestChainAccountAddress")

// 开启 TLS 连接
authToken.SetRequireTransportSecurity(true)
// 创建 OPB 客户端
client := opb.NewClient(cfg, &authToken)

Expand Down

0 comments on commit 01a33dd

Please sign in to comment.