productCustom

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoginAuthFuncName = "LoginAuth"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomTopic

type CustomTopic struct {
	Topic     string `json:"topic"`     //自定义主题需要以$custom 并包含设备名称{deviceName}及产品名称{productID}
	Direction int64  `json:"direction"` //1:上行 2:下行 3:双向
}

type LoginAuthFunc

type LoginAuthFunc func(dir devices.Direction, clientID string, userName string, password string) (*devices.Core, error)

Jump to

Keyboard shortcuts

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