Documentation ¶
Index ¶
- type MockMessenger
- func (m *MockMessenger) ReplyTo(msgID string, msg service.DIDCommMsgMap) error
- func (m *MockMessenger) ReplyToMsg(_, _ service.DIDCommMsgMap, _, _ string) error
- func (m *MockMessenger) ReplyToNested(msg service.DIDCommMsgMap, opts *service.NestedReplyOpts) error
- func (m *MockMessenger) Send(msg service.DIDCommMsgMap, myDID, theirDID string) error
- func (m *MockMessenger) SendToDestination(msg service.DIDCommMsgMap, sender string, destination *service.Destination) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessenger ¶
type MockMessenger struct { ErrReplyTo error ErrReplyToNested error ErrSend error ErrSendToDestination error }
MockMessenger mock implementation of messenger.
func (*MockMessenger) ReplyTo ¶
func (m *MockMessenger) ReplyTo(msgID string, msg service.DIDCommMsgMap) error
ReplyTo mock messenger reply to.
func (*MockMessenger) ReplyToMsg ¶
func (m *MockMessenger) ReplyToMsg(_, _ service.DIDCommMsgMap, _, _ string) error
ReplyToMsg mock messenger reply to msg.
func (*MockMessenger) ReplyToNested ¶
func (m *MockMessenger) ReplyToNested(msg service.DIDCommMsgMap, opts *service.NestedReplyOpts) error
ReplyToNested mock messenger reply to nested.
func (*MockMessenger) Send ¶
func (m *MockMessenger) Send(msg service.DIDCommMsgMap, myDID, theirDID string) error
Send mock messenger Send.
func (*MockMessenger) SendToDestination ¶
func (m *MockMessenger) SendToDestination(msg service.DIDCommMsgMap, sender string, destination *service.Destination) error
SendToDestination mock messenger SendToDestination.
Click to show internal directories.
Click to hide internal directories.