Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
Dispatcher is an autogenerated mock type for the Dispatcher type
func NewDispatcher ¶
func NewDispatcher(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*Dispatcher) RemoveReceiver ¶
func (_m *Dispatcher) RemoveReceiver(capabilityId string, donId string)
RemoveReceiver provides a mock function with given fields: capabilityId, donId
func (*Dispatcher) Send ¶
func (_m *Dispatcher) Send(peerID ragep2ptypes.PeerID, msgBody *types.MessageBody) error
Send provides a mock function with given fields: peerID, msgBody
func (*Dispatcher) SetReceiver ¶
SetReceiver provides a mock function with given fields: capabilityId, donId, receiver
type Receiver ¶
Receiver is an autogenerated mock type for the Receiver type
func NewReceiver ¶
NewReceiver creates a new instance of Receiver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Receiver) Receive ¶
func (_m *Receiver) Receive(msg *types.MessageBody)
Receive provides a mock function with given fields: msg