Documentation
¶
Index ¶
- func BusCreate(s *usb.Server) api.HandlerFunc
- func BusDeviceAdd(s *usbs.Server, apiSrv *api.Server) api.HandlerFunc
- func BusDeviceRemove(s *usb.Server) api.HandlerFunc
- func BusDevicesList(s *usb.Server) api.HandlerFunc
- func BusList(s *usb.Server) api.HandlerFunc
- func BusRemove(s *usb.Server) api.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BusCreate ¶
func BusCreate(s *usb.Server) api.HandlerFunc
BusCreate returns a handler that creates a new bus. Error logging is centralized in the API server; this handler only returns errors.
func BusDeviceAdd ¶
BusDeviceAdd returns a handler to add devices to a bus.
func BusDeviceRemove ¶
func BusDeviceRemove(s *usb.Server) api.HandlerFunc
BusDeviceRemove returns a handler that removes a device by device number.
func BusDevicesList ¶
func BusDevicesList(s *usb.Server) api.HandlerFunc
BusDevicesList returns a handler that lists devices on a bus.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.