service

package
v0.1.6-0...-5c25bcb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL