mirror of
https://github.com/OrbTools/OrbCommon
synced 2024-11-18 03:25:32 +00:00
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",
|
|
}
|