Documentation ¶
Index ¶
- type MockMessenger
- func (m *MockMessenger) ReplyTo(msgID string, msg service.DIDCommMsgMap, opts ...service.Opt) error
- func (m *MockMessenger) ReplyToMsg(in, out service.DIDCommMsgMap, myDID, theirDID string, opts ...service.Opt) error
- func (m *MockMessenger) ReplyToNested(msg service.DIDCommMsgMap, opts *service.NestedReplyOpts) error
- func (m *MockMessenger) Send(msg service.DIDCommMsgMap, myDID, theirDID string, opts ...service.Opt) 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 ReplyToMsgFunc func(service.DIDCommMsgMap, service.DIDCommMsgMap, string, string) error ErrReplyToNested error ErrSend error ErrSendToDestination error }
MockMessenger mock implementation of messenger.
func (*MockMessenger) ReplyTo ¶
func (m *MockMessenger) ReplyTo(msgID string, msg service.DIDCommMsgMap, opts ...service.Opt) error
ReplyTo mock messenger reply to.
func (*MockMessenger) ReplyToMsg ¶ added in v0.1.5
func (m *MockMessenger) ReplyToMsg(in, out service.DIDCommMsgMap, myDID, theirDID string, opts ...service.Opt) 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, opts ...service.Opt) error
Send mock messenger Send.
func (*MockMessenger) SendToDestination ¶
func (m *MockMessenger) SendToDestination(msg service.DIDCommMsgMap, sender string, destination *service.Destination, opts ...service.Opt) error
SendToDestination mock messenger SendToDestination.
Click to show internal directories.
Click to hide internal directories.