Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockHTTPProvider ¶
NewMockHTTPProvider creates a HTTP provider mock
Types ¶
type MockEthAPI ¶
type MockEthAPI struct {
// contains filtered or unexported fields
}
MockEthAPI ...
type MockHTTPProvider ¶
type MockHTTPProvider struct {
// contains filtered or unexported fields
}
MockHTTPProvider provides basic web3 interface
func (*MockHTTPProvider) GetRPCMethod ¶
func (provider *MockHTTPProvider) GetRPCMethod() rpc.RPC
func (*MockHTTPProvider) IsConnected ¶
func (provider *MockHTTPProvider) IsConnected() bool
IsConnected ...
type MockNetAPI ¶
type MockNetAPI struct {
// contains filtered or unexported fields
}
MockNetAPI ...
Click to show internal directories.
Click to hide internal directories.