1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-13 19:29:10 +08:00
hybridgroup.gobot/platforms/pebble/pebble_adaptor.go
2014-07-07 17:35:59 -07:00

35 lines
485 B
Go

package pebble
import (
"github.com/hybridgroup/gobot"
)
type PebbleAdaptor struct {
gobot.Adaptor
}
func NewPebbleAdaptor(name string) *PebbleAdaptor {
return &PebbleAdaptor{
Adaptor: *gobot.NewAdaptor(
name,
"PebbleAdaptor",
),
}
}
func (a *PebbleAdaptor) Connect() bool {
return true
}
func (a *PebbleAdaptor) Reconnect() bool {
return true
}
func (a *PebbleAdaptor) Disconnect() bool {
return true
}
func (a *PebbleAdaptor) Finalize() bool {
return true
}