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

14 lines
308 B
Go
Raw Normal View History

2013-10-22 16:45:31 -07:00
package gobot
2013-10-23 22:00:03 -07:00
type Adaptor struct {
2014-01-26 18:55:27 -08:00
Name string `json:"name"`
Port string `json:"port"`
Connected bool `json:"Connected"`
Params map[string]interface{} `json:"params"`
2013-10-23 22:00:03 -07:00
}
type AdaptorInterface interface {
Finalize() bool
Connect() bool
2013-10-23 22:00:03 -07:00
}