Beispiel #1
0
func init() {
	device.AddDeviceSetupCallback(startDeviceLoop)
}
Beispiel #2
0
// add the VNC loop method to device setup
func init() {
	device.AddDeviceSetupCallback(func(dev *device.Device) error {
		startDeviceLoop(dev)
		return nil
	})
}