Documentation ¶ Index ¶ type Client func New(socketPath string, api spi.InterfaceSpec) Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client interface { // 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 } Client allows execution of RPCs. func New ¶ func New(socketPath string, api spi.InterfaceSpec) Client New creates a new Client that communicates with a unix socket and validates the remote API. Source Files ¶ View all Source files client.gohandshake.gorpc.go Click to show internal directories. Click to hide internal directories.