Skip to content

Commit

Permalink
add_api_for_go_client (#2437)
Browse files Browse the repository at this point in the history
* add_api_for_go_client

* update
  • Loading branch information
ChrisChen2023 authored Jan 25, 2024
1 parent e6017ed commit b2d43dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs-2.0-en/14.client/6.nebula-go-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Run the following command to install or update NebulaGraph Go:
$ go get -u -v github.com/vesoft-inc/nebula-go/v3@v{{go.release}}
```

## API reference

Click [here](https://pkg.go.dev/github.com/vesoft-inc/nebula-go/v3@v3.6.1#section-documentation) to check the functions and types provided by the GO Client.

## Core of the example code

The NebulaGraph GO client provides both Connection Pool and Session Pool, using Connection Pool requires the user to manage the session instances.
Expand Down
6 changes: 5 additions & 1 deletion docs-2.0-zh/14.client/6.nebula-go-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ $ go get -u -v github.com/vesoft-inc/nebula-go@<tag>

`tag`:指定分支。例如`master``{{go.branch}}`

## API 文档

点击[此处](https://pkg.go.dev/github.com/vesoft-inc/nebula-go/v3@v3.6.1#section-documentation)查看 Go 客户端提供的各种方法和类型。

## 核心代码

NebulaGraph GO 客户端提供 Connection Pool 和 Session Pool 两种使用方式,使用 Connection Pool 需要用户自行管理 Session 实例。
NebulaGraph Go 客户端提供 Connection Pool 和 Session Pool 两种使用方式,使用 Connection Pool 需要用户自行管理 Session 实例。

- Session Pool

Expand Down

0 comments on commit b2d43dd

Please sign in to comment.