Documentation
¶
Index ¶
- type ServiceBus
- func (sb *ServiceBus) Forward(target provider.Target, data interface{}) (response interface{}, err error)
- func (sb *ServiceBus) GoToTarget(data map[string]interface{}, stop chan struct{}) (interface{}, error)
- func (sb *ServiceBus) Name() string
- func (sb *ServiceBus) RegisterListener(handle listener.Handle) error
- func (sb *ServiceBus) UnregisterListener()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceBus ¶
type ServiceBus struct { TargetURL string // contains filtered or unexported fields }
func (*ServiceBus) Forward ¶ added in v1.9.0
func (sb *ServiceBus) Forward(target provider.Target, data interface{}) (response interface{}, err error)
func (*ServiceBus) GoToTarget ¶
func (sb *ServiceBus) GoToTarget(data map[string]interface{}, stop chan struct{}) (interface{}, error)
func (*ServiceBus) Name ¶
func (sb *ServiceBus) Name() string
func (*ServiceBus) RegisterListener ¶ added in v1.9.0
func (sb *ServiceBus) RegisterListener(handle listener.Handle) error
func (*ServiceBus) UnregisterListener ¶ added in v1.9.0
func (sb *ServiceBus) UnregisterListener()
Click to show internal directories.
Click to hide internal directories.