Files
linuxkit/vendor/github.com/docker/infrakit/pkg/rpc/client/rpc.go
Rolf Neugebauer 6a29d153f5 infrakit: Move the hyperkit instance plugin into the source directory
- 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>
2017-03-25 13:02:45 +01:00

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
}