Add Driver channel for events
This commit is contained in:
parent
dbc602d5bd
commit
d05268feb2
|
@ -7,6 +7,7 @@ type Driver struct {
|
|||
Pin string
|
||||
Name string
|
||||
Params map[string]string
|
||||
Events map[string]chan interface{}
|
||||
}
|
||||
|
||||
func NewDriver(d Driver) Driver {
|
||||
|
|
Loading…
Reference in New Issue