Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconnectRPCClient ¶
type ReconnectRPCClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(protocol, address string) *ReconnectRPCClient
func (*ReconnectRPCClient) Call ¶
func (rpcClient *ReconnectRPCClient) Call(serviceMethod string, args interface{}, reply interface{}) (err error)
Call makes RPC call to the remote endpoint using the default codec, namely encoding/gob.
func (*ReconnectRPCClient) Close ¶
func (rpcClient *ReconnectRPCClient) Close() error
Close closes the underlying socket file descriptor.
Click to show internal directories.
Click to hide internal directories.