A Golang library for interacting with adb.
Go to file
Zach Klippenstein 9f7d11a3bc Refactored ClientConfig into a Server interface.
* StartServer is now a method on Server.
* What used to be Dialer.Dial is now Server.Dial.
* Server.Dial handles trying to start the server if the initial connection fails.
* Dialer now dials a network address.
* All types that took a Dialer now take a Server.
* Server now has tests!
2016-01-10 14:01:58 -08:00
cmd Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
util Fixed a potential NPE when printing error cause chains. 2015-12-30 01:58:06 -08:00
wire Fixed bug where tried closing a single net.Conn multiple times. 2015-12-30 00:02:30 -08:00
.travis.yml Updated go version for travis build. 2015-12-20 23:01:07 -08:00
device_client.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
device_client_test.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
device_descriptor.go Decoupled clients from each other. 2015-07-11 23:21:10 -07:00
device_info.go Richer error handling. 2015-07-12 00:37:58 -07:00
device_info_test.go Started host and local service clients. 2015-04-12 22:07:12 -07:00
device_watcher.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
device_watcher_test.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
devicedescriptortype_string.go Started host and local service clients. 2015-04-12 22:07:12 -07:00
devicestate_string.go DeviceWatcher events are more strongly typed and added higher-level methods. 2015-09-07 21:19:59 -07:00
dialer.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
dir_entries.go OpenRead will now return an error if the server returns an error when trying to open a file. 2015-12-28 19:46:14 -08:00
doc.go Started host and local service clients. 2015-04-12 22:07:12 -07:00
host_client.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
host_client_test.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
LICENSE.txt Initial commit – wire format implementation and some host client commands. 2015-04-11 16:58:49 -07:00
README.md Fixed travis badge to always point to master. 2015-12-28 01:26:11 -08:00
server.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
server_mock_test.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
server_test.go Refactored ClientConfig into a Server interface. 2016-01-10 14:01:58 -08:00
sync_client.go Implemented sync file send and cmd/adb push command. 2015-12-28 19:59:07 -08:00
sync_client_test.go Richer error handling. 2015-07-12 00:37:58 -07:00
sync_file_reader.go Fixed a panic when reading an empty file. 2015-12-29 23:31:05 -08:00
sync_file_reader_test.go Fixed a panic when reading an empty file. 2015-12-29 23:31:05 -08:00
sync_file_writer.go FileWriter.Write will now always attempt to write the entire buffer, even if larger than max chunk size. 2015-12-30 03:05:56 -08:00
sync_file_writer_test.go FileWriter.Write will now always attempt to write the entire buffer, even if larger than max chunk size. 2015-12-30 03:05:56 -08:00
util.go Fixed a panic when reading an empty file. 2015-12-29 23:31:05 -08:00
util_test.go Started host and local service clients. 2015-04-12 22:07:12 -07:00

#goadb

Build Status GoDoc

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

See demo.go for usage.