rpcbackendmocks

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	mock.Mock
}

Backend is an autogenerated mock type for the Backend type

func (*Backend) CallRPC

func (_m *Backend) CallRPC(ctx context.Context, result interface{}, method string, params ...interface{}) error

CallRPC provides a mock function with given fields: ctx, result, method, params

func (*Backend) SyncRequest

func (_m *Backend) SyncRequest(ctx context.Context, rpcReq *rpcbackend.RPCRequest) (*rpcbackend.RPCResponse, error)

SyncRequest provides a mock function with given fields: ctx, rpcReq

Jump to

Keyboard shortcuts

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