package
0.0.3-rc0
Repository: https://github.com/things-go/aliyun-iot.git
Documentation: pkg.go.dev

# Functions

New 新建alink http client 默认加签算法: hmacmd5 默认host: https://iot-as-http.cn-shanghai.aliyuncs.com 默认使用 http.DefaultClient.
WithEndpoint 设置Endpoint地址,也就是Host.
WithHTTPClient with custom http.Client.
WithLogger 设置日志.
WithSignMethod 设置签名方法,目前支持hmacsha1,hmacmd5(默认).

# Constants

错误码.
错误码.
错误码.
错误码.
错误码.
根据token获取identify信息失败。需重新调用auth进行鉴权,获取token.
需重新调用auth进行鉴权,获取token.
需重新调用auth进行鉴权,获取token.
错误码.
错误码.

# Structs

AuthRequest 鉴权请求.
AuthResponse 鉴权回复.
Client 客户端.
DataResponse 上报数据回复.

# Type aliases

Option client option.