Documentation
¶
Index ¶
- func GetDeviceCallback(h C.uintptr_t, data *C.char, size C.size_t)
- type DevicePlugin
- func (dev *DevicePlugin) CreateDevice() uintptr
- func (dev *DevicePlugin) Device_Print(self uintptr) error
- func (dev *DevicePlugin) Device_SetValue(self uintptr, value int32) error
- func (dev *DevicePlugin) Device_Value(self uintptr) (value int32, err error)
- func (dev *DevicePlugin) FreeDevice(ptr uintptr) error
- func (dev *DevicePlugin) GetDevice(ptr uintptr, useJson bool) (encoded []byte, err error)
- func (dev *DevicePlugin) Init(lookup func(symName string) (uintptr, error)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DevicePlugin ¶
type DevicePlugin struct {
// contains filtered or unexported fields
}
func (*DevicePlugin) CreateDevice ¶
func (dev *DevicePlugin) CreateDevice() uintptr
func (*DevicePlugin) Device_Print ¶
func (dev *DevicePlugin) Device_Print(self uintptr) error
func (*DevicePlugin) Device_SetValue ¶
func (dev *DevicePlugin) Device_SetValue(self uintptr, value int32) error
func (*DevicePlugin) Device_Value ¶
func (dev *DevicePlugin) Device_Value(self uintptr) (value int32, err error)
func (*DevicePlugin) FreeDevice ¶
func (dev *DevicePlugin) FreeDevice(ptr uintptr) error
Click to show internal directories.
Click to hide internal directories.