Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRpc = errors.New("rpc is not available") ErrRpcTimeout = errors.New("rpc call timeout") )
View Source
var (
ErrNoClient = errors.New("rpc is not available")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is rpc client.
func Dial ¶
func Dial(options ClientOptions) (c *Client)
Dial connects to an RPC server at the specified network address.
type Clients ¶
type Clients struct {
// contains filtered or unexported fields
}
func Dials ¶
func Dials(options []ClientOptions) *Clients
Dials connects to RPC servers at the specified network address.
Click to show internal directories.
Click to hide internal directories.