Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallWithBlockHash ¶
Types ¶
type Client ¶
type Client interface {
// Call makes the call to RPC method with the provided args
// args must be encoded in the format RPC understands
Call(result interface{}, method string, args ...interface{}) error
CallContext(
ctx context.Context,
result interface{},
method string,
args ...interface{},
) error
Subscribe(
ctx context.Context,
namespace, subscribeMethodSuffix, unsubscribeMethodSuffix,
notificationMethodSuffix string,
channel interface{},
args ...interface{},
) (*gethrpc.ClientSubscription, error)
URL() string
Close()
}
Click to show internal directories.
Click to hide internal directories.