Documentation ¶
Index ¶
- func AddPlugin(adaptors *adaptors.Adaptors, name string, opts ...m.Attributes) (err error)
- func GetNewBitmineL3(name string) *m.Entity
- func GetNewButton(id string, scripts []m.Script) *m.Entity
- func GetNewModbusRtu(name string) *m.Entity
- func GetNewModbusTcp(name string) *m.Entity
- func GetNewMoon(name string) *m.Entity
- func GetNewNode(name string) *m.Entity
- func GetNewPlug(id string, scrits []m.Script) *m.Entity
- func GetNewScene(id string, scripts []m.Script) *m.Entity
- func GetNewScript(id string, scrits []m.Script) *m.Entity
- func GetNewSensor(name string) *m.Entity
- func GetNewSun(name string) *m.Entity
- func GetNewTelegram(name string) *m.Entity
- func GetNewWeather(name string) *m.Entity
- func GetNewWeatherOwm(name string) *m.Entity
- func GetNewZone() *m.Entity
- func GetPort() int64
- func MockHttpServer(ctx context.Context, ip string, port int64, payload []byte) (err error)
- func MockTCPServer(ctx context.Context, ip string, port int64, payloads ...[]byte) (err error)
- func RegisterConvey(scriptService scripts.ScriptService, ctx convey.C)
- func Wait(t time.Duration, ch chan interface{}) (ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNewBitmineL3 ¶
func GetNewModbusRtu ¶
func GetNewModbusTcp ¶
func GetNewMoon ¶
func GetNewNode ¶
func GetNewSensor ¶
func GetNewTelegram ¶
func GetNewWeather ¶
func GetNewWeatherOwm ¶
func GetNewZone ¶
func MockHttpServer ¶
func MockTCPServer ¶
func RegisterConvey ¶
func RegisterConvey(scriptService scripts.ScriptService, ctx convey.C)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.