This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus-website.git
The following commit(s) were added to refs/heads/master by this push:
new dabebcc0 Fix format issues in navigation bar for go-client doc (#116)
dabebcc0 is described below
commit dabebcc0e7312f017a6283ac8c04454afd649987
Author: lengyuexuexuan <[email protected]>
AuthorDate: Wed May 28 16:26:29 2025 +0800
Fix format issues in navigation bar for go-client doc (#116)
---
_docs/zh/clients/go-client.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/_docs/zh/clients/go-client.md b/_docs/zh/clients/go-client.md
index 7179efcb..9eb4a2fd 100644
--- a/_docs/zh/clients/go-client.md
+++ b/_docs/zh/clients/go-client.md
@@ -87,7 +87,7 @@ Get(ctx context.Context, hashKey []byte, sortKey []byte)
([]byte, error)
* 返回值:value、error. 如果返回(nil,nil),表示key对应的数据不存在。
* 异常:如果出现异常,譬如网络错误、超时错误、服务端错误等,可以访问error获取具体错误类型(key对应数据不存在返回nil)。
-### Set | SetTTL
+### Set and SetTTL
写单行数据, SetTTL可以设置单条kv的TTL。
```go
// Set the entry for `hashKey` + `sortKey` to `value`.
@@ -115,7 +115,7 @@ Del(ctx context.Context, hashKey []byte, sortKey []byte)
error
* 参数:需传入context、hashKey、sortKey。
* 异常:如果出现异常,譬如网络错误、超时错误、服务端错误等,可以访问error获取具体错误类型。
-### MultiGet | MultiGetOpt
+### MultiGet and MultiGetOpt
读**同一HashKey下**的多行数据。
```go
// MultiGet/MultiGetOpt retrieves the multiple entries for `hashKey` +
`sortKeys[i]` atomically in one operation.
@@ -190,7 +190,7 @@ const (
* FilterTypeMatchPrefix: 前缀匹配
* FilterTypeMatchPostfix: 后缀匹配
-### MultiGetRange | MultiGetRangeOpt
+### MultiGetRange and MultiGetRangeOpt
读**同一HashKey下**的多行数据,支持范围查询。
``` go
// MultiGetRange retrieves the multiple entries under `hashKey`, between range
(`startSortKey`, `stopSortKey`),
@@ -212,7 +212,7 @@ MultiGetRangeOpt(ctx context.Context, hashKey []byte,
startSortKey []byte, stopS
* 异常:如果出现异常,譬如网络错误、超时错误、服务端错误等,可以访问error获取具体错误类型(key对应数据不存在不会报错)。
-### MultiSet | MultiSetOpt
+### MultiSet and MultiSetOpt
写同一HashKey下的多行数据。
``` go
// MultiSet sets the multiple entries for `hashKey` + `sortKeys[i]` atomically
in one operation.
@@ -241,7 +241,7 @@ MultiDel(ctx context.Context, hashKey []byte, sortKeys
[][]byte) error
* 返回值:error
* 异常:如果出现异常,譬如网络错误、超时错误、服务端错误等,可以访问error获取具体错误类型
-### DelRange | DelRangeOpt
+### DelRange and DelRangeOpt
``` go
// DelRange /DelRangeOpt deletes the multiple entries under `hashKey`, between
range (`startSortKey`, `stopSortKey`),
// atomically in one operation.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]