1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-29 13:49:14 +08:00
hybridgroup.gobot/adaptor.go

14 lines
308 B
Go

package gobot
type Adaptor struct {
Name string `json:"name"`
Port string `json:"port"`
Connected bool `json:"Connected"`
Params map[string]interface{} `json:"params"`
}
type AdaptorInterface interface {
Finalize() bool
Connect() bool
}