rpc2

package
v0.0.0-...-f3b78e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2018 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client     *rpc.Client
	Addr       string
	MaxRetries int
	// contains filtered or unexported fields
}

func NewClient

func NewClient(addr string, maxRetries int) *Client

func (*Client) Call

func (r *Client) Call(serviceMethod string, args interface{}, reply interface{}) error

func (*Client) Dial

func (r *Client) Dial()

func (*Client) DialRetry

func (r *Client) DialRetry()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL