Directories
¶
| Path | Synopsis |
|---|---|
|
Example client demonstrates attaching a remote USB/IP device via pkg/usbip.Importer and detaching it cleanly after a brief hold.
|
Example client demonstrates attaching a remote USB/IP device via pkg/usbip.Importer and detaching it cleanly after a brief hold. |
|
Example events demonstrates iterating over the v1-compatible Importer.Watch and Exporter.WatchSessions event-only sequences.
|
Example events demonstrates iterating over the v1-compatible Importer.Watch and Exporter.WatchSessions event-only sequences. |
|
Example reconnect demonstrates AttachOptions.AutoReconnect with a custom backoff and an OnReconnect callback.
|
Example reconnect demonstrates AttachOptions.AutoReconnect with a custom backoff and an OnReconnect callback. |
|
Example server demonstrates embedding pkg/usbip.Exporter in a custom process: listen on TCP, bind a local device for export, then serve the USB/IP accept loop until SIGINT/SIGTERM.
|
Example server demonstrates embedding pkg/usbip.Exporter in a custom process: listen on TCP, bind a local device for export, then serve the USB/IP accept loop until SIGINT/SIGTERM. |
Click to show internal directories.
Click to hide internal directories.