Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface { CallMethod(result interface{}, method string, params []string) error Close() }
Agent defines a RPC agent interface
type GethAgent ¶
type GethAgent struct {
// contains filtered or unexported fields
}
GethAgent wraps ethereum rpc client
func (*GethAgent) CallMethod ¶
CallMethod calls RPC method with params
Click to show internal directories.
Click to hide internal directories.