dispatcher

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 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 MockOutbound

type MockOutbound struct {
	ValidateSend      func(msg interface{}, senderVerKey string, des *service.Destination) error
	ValidateSendToDID func(msg interface{}, myDID, theirDID string) error
	ValidateForward   func(msg interface{}, des *service.Destination) error
	SendErr           error
}

MockOutbound mock outbound dispatcher

func (*MockOutbound) Forward added in v0.1.1

func (m *MockOutbound) Forward(msg interface{}, des *service.Destination) error

Forward msg

func (*MockOutbound) Send

func (m *MockOutbound) Send(msg interface{}, senderVerKey string, des *service.Destination) error

Send msg

func (*MockOutbound) SendToDID added in v0.1.1

func (m *MockOutbound) SendToDID(msg interface{}, myDID, theirDID string) error

SendToDID msg

Jump to

Keyboard shortcuts

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