test

package
v0.0.0-...-e7a313f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InBound

func InBound(sn string, topic string, data string) bool

数据入站 插入时序数据库 topic: insert into tb1 values(now, 0)(now+1s,1)(now+2s,2)(now+3s,3)

func Init

func Init(sn string, server string) *sql.DB

初始化客户端 server: "root:taosdata/tcp(192.168.5.211:6030)/iot"

func Select

func Select(sn string, topic string)

数据出站 查询时序数据库

func Start

func Start(sn string, server string)

启动引擎 启动客户端连接

func Stop

func Stop(sn string) bool

关闭引擎 断开客户端连接

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL