hybridgroup.gobot/platforms/pebble/pebble_adaptor.go

34 lines
467 B
Go
Raw Normal View History

2014-05-03 06:22:05 +08:00
package pebble
import (
"github.com/hybridgroup/gobot"
)
type PebbleAdaptor struct {
gobot.Adaptor
}
func NewPebbleAdaptor(name string) *PebbleAdaptor {
return &PebbleAdaptor{
Adaptor: gobot.Adaptor{
Name: name,
},
}
2014-05-03 06:22:05 +08:00
}
func (a *PebbleAdaptor) Connect() bool {
return true
2014-05-03 06:22:05 +08:00
}
func (a *PebbleAdaptor) Reconnect() bool {
return true
2014-05-03 06:22:05 +08:00
}
func (a *PebbleAdaptor) Disconnect() bool {
return true
}
func (a *PebbleAdaptor) Finalize() bool {
return true
2014-05-03 06:22:05 +08:00
}