Documentation
¶
Index ¶
Constants ¶
View Source
const ( GetAccountFunc = "GetAccount" SendSignedTransactionFunc = "SendSignedTransaction" GetCollectionFunc = "GetCollection" GetTransactionResultFunc = "GetTransactionResult" GetEventsFunc = "GetEvents" GetLatestBlockFunc = "GetLatestBlock" GetBlockByHeightFunc = "GetBlockByHeight" GetBlockByIDFunc = "GetBlockByID" ExecuteScriptFunc = "ExecuteScript" GetTransactionFunc = "GetTransaction" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestGateway ¶
type TestGateway struct {
Mock *Gateway
SendSignedTransaction *mock.Call
GetAccount *mock.Call
GetCollection *mock.Call
GetTransactionResult *mock.Call
GetEvents *mock.Call
GetLatestBlock *mock.Call
GetBlockByHeight *mock.Call
GetBlockByID *mock.Call
ExecuteScript *mock.Call
GetTransaction *mock.Call
GetTransactionResultsByBlockID *mock.Call
GetTransactionsByBlockID *mock.Call
GetLatestProtocolStateSnapshot *mock.Call
Ping *mock.Call
SecureConnection *mock.Call
}
func DefaultMockGateway ¶
func DefaultMockGateway() *TestGateway
Click to show internal directories.
Click to hide internal directories.