mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-18 22:28:52 +00:00
- The tools directory ideally should not contain source code - Removes double vendoring of packagages - Makes it easer to hook the build into the top-level Makefile Eventually, the plugin should be moved to the infrakit repo. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
12 lines
320 B
Go
12 lines
320 B
Go
package client
|
|
|
|
// Client allows execution of RPCs.
|
|
type Client interface {
|
|
|
|
// Addr returns the address -- e.g. unix socket path
|
|
Addr() string
|
|
|
|
// Call invokes an RPC method with an argument and a pointer to a result that will hold the return value.
|
|
Call(method string, arg interface{}, result interface{}) error
|
|
}
|