Categorygithub.com/autopsist/go-adb
modulepackage
0.0.0-20190429084450-147c860a132b
Repository: https://github.com/autopsist/go-adb.git
Documentation: pkg.go.dev

# README

#goadb

Build Status GoDoc

A Golang library for interacting with the Android Debug Bridge (adb).

See demo.go for usage.

# Packages

No description provided by the author
Package wire implements the low-level part of the client/server wire protocol.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrorWithCauseChain formats err and all its causes if it's an *errors.Err, else returns err.Error().
HasErrCode returns true if err is an *errors.Err and err.Code == code.
New creates a new Adb client that uses the default ServerConfig.
No description provided by the author

# Constants

The server returned an error message, but we couldn't parse it.
No description provided by the author
Default port the adb server listens on.
No description provided by the author
The connection to the server was reset in the middle of an operation.
host:transport-any and host:<request>.
host:transport-local and host-local:<request>.
The server returned a "device not found" error.
host:transport:<serial> and host-serial:<serial>:<request>.
host:transport-usb and host-usb:<request>.
Tried to perform an operation on a path that doesn't exist on the device.
General network error communicating with the server.
No description provided by the author
The server was not available on the requested port.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MtimeOfClose should be passed to OpenWrite to set the file modification time to the time the Close method is called.

# Structs

Adb communicates with host services on the adb server.
No description provided by the author
Device communicates with a specific Android device.
No description provided by the author
No description provided by the author
DeviceStateChangedEvent represents a device state transition.
DeviceWatcher publishes device status change events.
DirEntries iterates over directory entries.
DirEntry holds information about a directory entry on a device.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Dialer knows how to create connections to an adb server.

# Type aliases

DeviceState represents one of the 3 possible states adb will report devices.
No description provided by the author