Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Outbound ¶
type Outbound interface {
Send(interface{}, string, *service.Destination) error
}
Outbound interface
type OutboundCreator ¶
OutboundCreator method to create new outbound dispatcher service
type OutboundDispatcher ¶
type OutboundDispatcher struct {
// contains filtered or unexported fields
}
OutboundDispatcher dispatch msgs to destination
func NewOutbound ¶
func NewOutbound(prov Provider) *OutboundDispatcher
NewOutbound return new dispatcher outbound instance
func (*OutboundDispatcher) Send ¶
func (o *OutboundDispatcher) Send(msg interface{}, senderVerKey string, des *service.Destination) error
Send msg
type Provider ¶
type Provider interface { Packager() commontransport.Packager OutboundTransports() []transport.OutboundTransport }
Provider interface for outbound ctx
Click to show internal directories.
Click to hide internal directories.