mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-02 22:17:12 +08:00
16 lines
232 B
Go
16 lines
232 B
Go
package gobot
|
|
|
|
type Adaptor struct {
|
|
Name string
|
|
Port string
|
|
Connected bool
|
|
Params map[string]interface{}
|
|
}
|
|
|
|
type AdaptorInterface interface {
|
|
Finalize() bool
|
|
Connect() bool
|
|
Disconnect() bool
|
|
Reconnect() bool
|
|
}
|