Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `description:"Enable Service Bus event provider"` Namespace string `description:"ServiceBus namespace"` Topic string `description:"ServiceBus topic name"` Key string `description:"ServiceBus access key"` AuthorizationRuleName string `description:"ServiceBus authorization rule name"` }
Config to setup a ServiceBus event publisher
type ServiceBus ¶
ServiceBus handles the connection to an external Service Bus
func NewServiceBus ¶
func NewServiceBus(config *Config) (*ServiceBus, error)
NewServiceBus creates a new Service Bus object
func (*ServiceBus) Close ¶
func (s *ServiceBus) Close()
Close cleans up any outstanding connections to Service Bus
Click to show internal directories.
Click to hide internal directories.