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
Click to show internal directories.
Click to hide internal directories.