1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
2014-04-29 13:20:32 -07:00

16 lines
379 B
Go

package driver
type Driver struct {
Interval string `json:"interval"`
Pin string `json:"pin"`
Name string `json:"name"`
Commands []string `json:"commands"`
Events map[string]chan interface{} `json:"-"`
}
type DriverInterface interface {
Init() bool
Start() bool
Halt() bool
}