dispatcher

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

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

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