mirror of https://github.com/OrbTools/OrbCommon
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
353 B
Go
24 lines
353 B
Go
package devices
|
|
|
|
import (
|
|
"github.com/OrbTools/OrbCommon/gui"
|
|
)
|
|
|
|
//ExtraBytes defines extra bytes to a type
|
|
type ExtraBytes struct {
|
|
Name string
|
|
Size int
|
|
}
|
|
|
|
//Device defines a JSON device
|
|
type Device struct {
|
|
BINDING []byte
|
|
EB []*ExtraBytes
|
|
GUI gui.GUI
|
|
}
|
|
|
|
//DeviceList List of supported devices
|
|
var DeviceList = []string{
|
|
"Orbweaver",
|
|
}
|