mocks

package
v0.4.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCClient

type RPCClient struct {
	mock.Mock
}

RPCClient is an autogenerated mock type for the RPCClient type

func (*RPCClient) ExecuteScriptAtBlockHeight

func (_m *RPCClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)

ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*RPCClient) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts

func (*RPCClient) ExecuteScriptAtLatestBlock

func (_m *RPCClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)

ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetAccount

GetAccount provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetBlockByHeight

func (_m *RPCClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)

GetBlockByHeight provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetBlockByID

func (_m *RPCClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)

GetBlockByID provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetBlockHeaderByHeight

func (_m *RPCClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)

GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetCollectionByID

GetCollectionByID provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetEventsForBlockIDs

func (_m *RPCClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)

GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetEventsForHeightRange

func (_m *RPCClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)

GetEventsForHeightRange provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetLatestBlock

func (_m *RPCClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)

GetLatestBlock provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetTransaction

GetTransaction provides a mock function with given fields: ctx, in, opts

func (*RPCClient) GetTransactionResult

GetTransactionResult provides a mock function with given fields: ctx, in, opts

func (*RPCClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

func (*RPCClient) SendTransaction

SendTransaction provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL