Versions in this module Expand all Collapse all v0 v0.2.0 Apr 17, 2022 v0.1.0 Mar 29, 2022 Changes in this version + type Client interface + Call func(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error + Close func() error + type ClientMock struct + CallFunc func(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error + CloseFunc func() error + func (mock *ClientMock) Call(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error + func (mock *ClientMock) CallCalls() []struct{ ... } + func (mock *ClientMock) Close() error + func (mock *ClientMock) CloseCalls() []struct{} + type Dialer interface + Dial func(network, address string) (RPCClient, error) + func JSONRPC() Dialer + type DialerFunc func(network, address string) (RPCClient, error) + func (f DialerFunc) Dial(network, addr string) (RPCClient, error) + type RPCClient interface + Call func(serviceMethod string, args interface{}, reply interface{}) error + Close func() error + type Redialer struct + func NewRedialer(dialer Dialer, strtg strategy.Interface, network, addr string) (*Redialer, error) + func (r *Redialer) Call(ctx context.Context, serviceMethod string, args interface{}, reply interface{}) error + func (r *Redialer) Close() error