devicehive-go:用于DeviceHive的Golang客户端库

时间:2021-04-28 19:49:08
【文件属性】:
文件名称:devicehive-go:用于DeviceHive的Golang客户端库
文件大小:96KB
文件格式:ZIP
更新时间:2021-04-28 19:49:08
Go 适用于GO的DeviceHive SDK 通常,用于DeviceHive的Golang SDK包含2个API,请随时选择以下API: 客户端(又名高级客户端)—提供对DeviceHive模型的同步API和类似ORM的访问 WS客户端(又称WS低级客户端)—提供异步API:仅在请求错误的情况下发送请求并返回错误,所有原始响应数据和响应错误都将写入到建立WS连接后创建的适当通道中(有关更多详细信息,请参阅) 安装 go get -u github.com/devicehive/devicehive-go 文献资料 请访问以获取完整的API参考。 用法 联系 import ( "github.com/devicehive/devicehive-go" "fmt" ) func main() { client, err := devicehive_go.ConnectW
【文件预览】:
devicehive-go-master
----go_sdk_structure.jpg(22KB)
----subscribeparams.go(1KB)
----error.go(989B)
----listparams.go(2KB)
----client.go(12KB)
----Gopkg.toml(872B)
----time.go(761B)
----command.go(1KB)
----info.go(564B)
----token.go(277B)
----notificationsubscription.go(2KB)
----integrationtest()
--------dh()
--------dh_wsclient()
----internal()
--------authmanager()
--------utils()
--------requestparams()
--------transport()
--------transportadapter()
--------resourcenames()
----network.go(2KB)
----commandsubscription.go(2KB)
----LICENSE(11KB)
----wsclient.go(12KB)
----doc.go(2KB)
----Gopkg.lock(722B)
----test()
--------utils()
--------transport()
--------transportadapter()
--------stubs()
----wsservice.go(1KB)
----README.md(5KB)
----user.go(4KB)
----service.go(2KB)
----property.go(328B)
----notification.go(541B)
----devicetype.go(2KB)
----connectionparams.go(311B)
----.gitignore(1KB)
----constants.go(939B)
----device.go(5KB)

网友评论