1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
hybridgroup.gobot/adaptor.go
2014-04-30 08:10:44 -07:00

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
}