Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageService ¶ added in v0.1.1
type MessageService interface {
service.InboundHandler
Accept(msgType string, purpose []string) bool
Name() string
}
MessageService is service for handling generic messages matching accept criteria based on message header.
type MessageTypeTarget ¶ added in v0.1.8
MessageTypeTarget represents a service message type mapping value to an OOB target action.
type Outbound ¶
type Outbound interface {
// Send the message after packing with the sender key and recipient keys.
Send(interface{}, string, *service.Destination) error
// SendToDID Sends the message after packing with the keys derived from DIDs.
SendToDID(msg interface{}, myDID, theirDID string) error
// Forward forwards the message without packing to the destination.
Forward(interface{}, *service.Destination) error
}
Outbound interface.
Click to show internal directories.
Click to hide internal directories.