Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facade ¶
type Facade struct {
GetAccountHandler func(address string) (*data.Account, error)
SendTransactionHandler func(nonce uint64, sender string, receiver string, value *big.Int, code string, signature []byte) (string, error)
}
Facade is the mock implementation of a node router handler
func (*Facade) GetAccount ¶
GetAccount is the mock implementation of a handler's GetAccount method
type WrongFacade ¶
type WrongFacade struct {
}
WrongFacade is a struct that can be used as a wrong implementation of the node router handler
Click to show internal directories.
Click to hide internal directories.