Documentation
¶
Overview ¶
Package cloud 智汀云模块,提供与智汀云对接的功能
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBrandsMap ¶ added in v1.5.0
func StartDataTunnel ¶
func StartTunnel ¶
Types ¶
type Brand ¶ added in v1.5.0
type BrandInfo ¶ added in v1.5.0
func GetBrandInfo ¶ added in v1.5.0
type ControlStreamClient ¶
type ControlStreamClient struct {
SaID string
Key string
LogLevel string
// contains filtered or unexported fields
}
func (*ControlStreamClient) HandleStream ¶
func (c *ControlStreamClient) HandleStream(stream proto.DatatunnelController_ControlStreamClient)
type DeviceSubType ¶ added in v1.5.0
type DeviceSubType string
type DeviceType ¶ added in v1.5.0
type DeviceType string
const ( TypeLight DeviceType = "light" // 灯 TypeSwitch DeviceType = "switch" // 开关 TypeOutlet DeviceType = "outlet" // 插座 TypeRoutingGateway DeviceType = "routing_gateway" // 路由网关 TypeSecurity DeviceType = "security" // 安防 )
Click to show internal directories.
Click to hide internal directories.