Documentation ¶
Index ¶
- type AsyncDispatcher
- func (_m *AsyncDispatcher) Close()
- func (_m *AsyncDispatcher) DispatchMsgAsync(ctx context.Context, msg *messages.SendTransaction, ack bool) (*messages.AsyncSentMsg, error)
- func (_m *AsyncDispatcher) HandleReceipts(res http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (_m *AsyncDispatcher) IsInitialized() bool
- func (_m *AsyncDispatcher) Run() error
- func (_m *AsyncDispatcher) ValidateConf() error
- type Dispatcher
- func (_m *Dispatcher) Close()
- func (_m *Dispatcher) DispatchMsgAsync(ctx context.Context, msg *messages.SendTransaction, ack bool) (*messages.AsyncSentMsg, error)
- func (_m *Dispatcher) HandleReceipts(res http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (_m *Dispatcher) IsInitialized() bool
- func (_m *Dispatcher) Run() error
- func (_m *Dispatcher) ValidateConf() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncDispatcher ¶
AsyncDispatcher is an autogenerated mock type for the AsyncDispatcher type
func NewAsyncDispatcher ¶ added in v0.9.18
func NewAsyncDispatcher(t mockConstructorTestingTNewAsyncDispatcher) *AsyncDispatcher
NewAsyncDispatcher creates a new instance of AsyncDispatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncDispatcher) Close ¶
func (_m *AsyncDispatcher) Close()
Close provides a mock function with given fields:
func (*AsyncDispatcher) DispatchMsgAsync ¶
func (_m *AsyncDispatcher) DispatchMsgAsync(ctx context.Context, msg *messages.SendTransaction, ack bool) (*messages.AsyncSentMsg, error)
DispatchMsgAsync provides a mock function with given fields: ctx, msg, ack
func (*AsyncDispatcher) HandleReceipts ¶
func (_m *AsyncDispatcher) HandleReceipts(res http.ResponseWriter, req *http.Request, params httprouter.Params)
HandleReceipts provides a mock function with given fields: res, req, params
func (*AsyncDispatcher) IsInitialized ¶
func (_m *AsyncDispatcher) IsInitialized() bool
IsInitialized provides a mock function with given fields:
func (*AsyncDispatcher) Run ¶
func (_m *AsyncDispatcher) Run() error
Run provides a mock function with given fields:
func (*AsyncDispatcher) ValidateConf ¶
func (_m *AsyncDispatcher) ValidateConf() error
ValidateConf provides a mock function with given fields:
type Dispatcher ¶ added in v0.9.18
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) Close ¶ added in v0.9.18
func (_m *Dispatcher) Close()
Close provides a mock function with given fields:
func (*Dispatcher) DispatchMsgAsync ¶ added in v0.9.18
func (_m *Dispatcher) DispatchMsgAsync(ctx context.Context, msg *messages.SendTransaction, ack bool) (*messages.AsyncSentMsg, error)
DispatchMsgAsync provides a mock function with given fields: ctx, msg, ack
func (*Dispatcher) HandleReceipts ¶ added in v0.9.18
func (_m *Dispatcher) HandleReceipts(res http.ResponseWriter, req *http.Request, params httprouter.Params)
HandleReceipts provides a mock function with given fields: res, req, params
func (*Dispatcher) IsInitialized ¶ added in v0.9.18
func (_m *Dispatcher) IsInitialized() bool
IsInitialized provides a mock function with given fields:
func (*Dispatcher) Run ¶ added in v0.9.18
func (_m *Dispatcher) Run() error
Run provides a mock function with given fields:
func (*Dispatcher) ValidateConf ¶ added in v0.9.18
func (_m *Dispatcher) ValidateConf() error
ValidateConf provides a mock function with given fields: