hybridgroup.gobot/adaptor.go

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
}