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(_ service.DIDCommMsgMap, _ *service.NestedReplyOpts) error
- func (m *MockMessenger) Send(msg service.DIDCommMsgMap, myDID, theirDID string) error
- func (m *MockMessenger) SendToDestination(_ service.DIDCommMsgMap, _ string, _ *service.Destination) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessenger ¶
type MockMessenger struct { ReplyToFunc func(msgID string, msg service.DIDCommMsgMap) error SendFunc func(msg service.DIDCommMsgMap, myDID, theirDID string) error }
MockMessenger mock messenger.
func (*MockMessenger) ReplyTo ¶
func (m *MockMessenger) ReplyTo(msgID string, msg service.DIDCommMsgMap) error
ReplyTo reply to a message.
func (*MockMessenger) ReplyToMsg ¶
func (m *MockMessenger) ReplyToMsg(_, _ service.DIDCommMsgMap, _, _ string) error
ReplyToMsg reply to a message.
func (*MockMessenger) ReplyToNested ¶
func (m *MockMessenger) ReplyToNested(_ service.DIDCommMsgMap, _ *service.NestedReplyOpts) error
ReplyToNested reply to nested message.
func (*MockMessenger) Send ¶
func (m *MockMessenger) Send(msg service.DIDCommMsgMap, myDID, theirDID string) error
Send send message.
func (*MockMessenger) SendToDestination ¶
func (m *MockMessenger) SendToDestination(_ service.DIDCommMsgMap, _ string, _ *service.Destination) error
SendToDestination send mesage to destination.
Click to show internal directories.
Click to hide internal directories.