service

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

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
	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.

Jump to

Keyboard shortcuts

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