From acbf0ced8a5c4256c861b91f2b46f87c690c2b97 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 28 Apr 2022 12:34:09 +0800 Subject: [PATCH] docs: refine go connector doc (#11990) * docs: refine connector doc [TD-14839] * docs: use TDengine CLI [TD-14839] * docs: replace JNI with navtive connection [TD-14839] * docs: make connectors doc use same preparition [TD-14839] * docs: refine connectors doc [TD-14839] * docs: refine connectors doc [TD-14839] * docs: refine connector docs * docs: refine connector doc [TD-14839] * docs: refine connector doc [TD-14839] * docs: refine connector [TD-14839] * docs: fix faq path * docs: refine cpp connector doc * docs: refine cpp docs * docs: fix java preparition * docs: refine connector docs * docs: refine connector docs [TD-14839] * docs: refine connector doc [TD-14839] * docs: refine connector docs [TD-14839] * docs: fix node.mdx [TD-14839] * docs: refine connector [TD-14839] * docs: refine cpp connector [TD-14839] * docs: correct bind parameter interface name [TD-14839] * docs: refine connector docs [TD-14839] * docs: refine connector [TD-14839] * docs: refine connector [TD-14839] * docs: refine connector docs [TD-14839] * docs: refine connector [TD-14839] * docs: fix connector tabs [TD-14839] * fix tabitem values * docs: refine connector [TD-14839] * fix typo * docs: fix connector [TD-14839] * fix csharp.mdx * refine connector docs question list is numerical * refine go connector doc * refine go.mdx --- docs-cn/14-reference/03-connector/go.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs-cn/14-reference/03-connector/go.mdx b/docs-cn/14-reference/03-connector/go.mdx index f8b0c6d34f..2c73443a1c 100644 --- a/docs-cn/14-reference/03-connector/go.mdx +++ b/docs-cn/14-reference/03-connector/go.mdx @@ -320,7 +320,9 @@ func main() { ### 高级功能(af)API -`af` 包封装了订阅、schemaless、参数绑定等 TDengine 高级功能。 +`af` 包封装了连接管理、订阅、schemaless、参数绑定等 TDengine 高级功能。 + +#### 连接管理 * `af.Open(host, user, pass, db string, port int) (*Connector, error)` @@ -330,7 +332,7 @@ func main() { 关闭与 taosd 的连接。 -订阅 +#### 订阅 * `func (conn *Connector) Subscribe(restart bool, topic string, sql string, interval time.Duration) (Subscriber, error)` @@ -344,7 +346,7 @@ func main() { 取消订阅数据。 -schemaless 写入 +#### schemaless * `func (conn *Connector) InfluxDBInsertLines(lines []string, precision string) error` @@ -358,7 +360,7 @@ schemaless 写入 写入 OpenTSDB JSON 协议数据。 -参数绑定 +#### 参数绑定 * `func (conn *Connector) StmtExecute(sql string, params *param.Param) (res driver.Result, err error)` -- GitLab