Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMockedResponses ¶
Types ¶
type MockedEthNode ¶
func NewMockEthNode ¶
func NewMockEthNode(reqRecorder *[]byte, responses map[string]*btcjson.Response) *MockedEthNode
NewMockedEthNode creates a new mock qtumd server with the given handler. Params:
- request: a buffer used to record the request sent to the server
- responses: a map of method names to json responses
Click to show internal directories.
Click to hide internal directories.