Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessenger ¶
type MockMessenger struct { *mocksvc.MockMessenger // contains filtered or unexported fields }
MockMessenger mock implementation of messenger.
func NewMockMessenger ¶
func NewMockMessenger() *MockMessenger
NewMockMessenger returns new mock messenger.
func (*MockMessenger) GetLastID ¶
func (m *MockMessenger) GetLastID() string
GetLastID returns ID of the last message received.
func (*MockMessenger) ReplyToNested ¶
func (m *MockMessenger) ReplyToNested(msg service.DIDCommMsgMap, opts *service.NestedReplyOpts) error
ReplyToNested mock messenger ReplyToNested.
func (*MockMessenger) Send ¶
func (m *MockMessenger) Send(msg service.DIDCommMsgMap, myDID, theirDID string, _ ...service.Opt) error
Send mock messenger Send.
type MockProvider ¶
MockProvider mock implementation of provider needed by sdk command controller.
func NewMockProvider ¶
func NewMockProvider() *MockProvider
NewMockProvider returns mock implementation of basic provider.
func (*MockProvider) Messenger ¶
func (p *MockProvider) Messenger() service.Messenger
Messenger return mock messenger.
Click to show internal directories.
Click to hide internal directories.