Help us shape the future of Go! Take the 2026 Go Developer Survey

usbip

package module
v0.0.0-...-5bc44a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 8 Imported by: 0

README

usbip

usbip4go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecimalByteSlice2HexString

func DecimalByteSlice2HexString(DecimalSlice []byte) string

Types

type UsbCom

type UsbCom struct {
	Flag1  byte
	Flag2  byte
	Length uint16
	Com1   byte
	Com2   byte
}

type UsbComEx

type UsbComEx struct {
	UsbCom
	Port         uint32
	IsCompulsive uint32
}

type UsbIP

type UsbIP struct {
	IPAddr string
}

func NewUsbIP

func NewUsbIP(ipAddr string) *UsbIP

func (UsbIP) CaInfo

func (u UsbIP) CaInfo() caInfos

func (UsbIP) Close

func (u UsbIP) Close(UPort uint8) int

func (UsbIP) Info

func (u UsbIP) Info() (map[string]string, error)

func (UsbIP) Reboot

func (u UsbIP) Reboot() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL