1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
hybridgroup.gobot/adaptor.go
2014-01-26 18:55:27 -08:00

16 lines
345 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
Disconnect() bool
Reconnect() bool
}