mocksync

package
v0.9.19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 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 Dispatcher added in v0.9.18

type Dispatcher struct {
	mock.Mock
}

Dispatcher is an autogenerated mock type for the Dispatcher type

func NewDispatcher added in v0.9.18

func NewDispatcher(t mockConstructorTestingTNewDispatcher) *Dispatcher

NewDispatcher creates a new instance of Dispatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Dispatcher) DispatchMsgSync added in v0.9.18

func (_m *Dispatcher) DispatchMsgSync(ctx context.Context, res http.ResponseWriter, req *http.Request, msg interface{})

DispatchMsgSync provides a mock function with given fields: ctx, res, req, msg

func (*Dispatcher) GetBlock added in v0.9.18

func (_m *Dispatcher) GetBlock(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetBlock provides a mock function with given fields: res, req, params

func (*Dispatcher) GetBlockByTxID added in v0.9.18

func (_m *Dispatcher) GetBlockByTxID(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetBlockByTxID provides a mock function with given fields: res, req, params

func (*Dispatcher) GetChainInfo added in v0.9.18

func (_m *Dispatcher) GetChainInfo(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetChainInfo provides a mock function with given fields: res, req, params

func (*Dispatcher) GetTxByID added in v0.9.18

func (_m *Dispatcher) GetTxByID(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetTxByID provides a mock function with given fields: res, req, params

func (*Dispatcher) QueryChaincode added in v0.9.18

func (_m *Dispatcher) QueryChaincode(res http.ResponseWriter, req *http.Request, params httprouter.Params)

QueryChaincode provides a mock function with given fields: res, req, params

type SyncDispatcher

type SyncDispatcher struct {
	mock.Mock
}

SyncDispatcher is an autogenerated mock type for the SyncDispatcher type

func NewSyncDispatcher added in v0.9.18

func NewSyncDispatcher(t mockConstructorTestingTNewSyncDispatcher) *SyncDispatcher

NewSyncDispatcher creates a new instance of SyncDispatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SyncDispatcher) DispatchMsgSync

func (_m *SyncDispatcher) DispatchMsgSync(ctx context.Context, res http.ResponseWriter, req *http.Request, msg interface{})

DispatchMsgSync provides a mock function with given fields: ctx, res, req, msg

func (*SyncDispatcher) GetBlock added in v0.9.7

func (_m *SyncDispatcher) GetBlock(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetBlock provides a mock function with given fields: res, req, params

func (*SyncDispatcher) GetBlockByTxId added in v0.9.15

func (_m *SyncDispatcher) GetBlockByTxId(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetBlockByTxId provides a mock function with given fields: res, req, params

func (*SyncDispatcher) GetChainInfo added in v0.9.7

func (_m *SyncDispatcher) GetChainInfo(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetChainInfo provides a mock function with given fields: res, req, params

func (*SyncDispatcher) GetTxById added in v0.9.7

func (_m *SyncDispatcher) GetTxById(res http.ResponseWriter, req *http.Request, params httprouter.Params)

GetTxById provides a mock function with given fields: res, req, params

func (*SyncDispatcher) QueryChaincode added in v0.9.7

func (_m *SyncDispatcher) QueryChaincode(res http.ResponseWriter, req *http.Request, params httprouter.Params)

QueryChaincode provides a mock function with given fields: res, req, params

Jump to

Keyboard shortcuts

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