1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-14 19:29:32 +08:00
hybridgroup.gobot/platforms/pebble/pebble_adaptor.go

35 lines
485 B
Go
Raw Normal View History

2014-05-02 17:22:05 -05:00
package pebble
import (
"github.com/hybridgroup/gobot"
)
type PebbleAdaptor struct {
gobot.Adaptor
}
func NewPebbleAdaptor(name string) *PebbleAdaptor {
return &PebbleAdaptor{
2014-07-07 17:35:59 -07:00
Adaptor: *gobot.NewAdaptor(
name,
"PebbleAdaptor",
),
}
2014-05-02 17:22:05 -05:00
}
func (a *PebbleAdaptor) Connect() bool {
return true
2014-05-02 17:22:05 -05:00
}
func (a *PebbleAdaptor) Reconnect() bool {
return true
2014-05-02 17:22:05 -05:00
}
func (a *PebbleAdaptor) Disconnect() bool {
return true
}
func (a *PebbleAdaptor) Finalize() bool {
return true
2014-05-02 17:22:05 -05:00
}