Documentation ¶
Index ¶
- Constants
- type AzureServiceBusQueues
- func (a *AzureServiceBusQueues) Init(metadata bindings.Metadata) error
- func (a *AzureServiceBusQueues) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (a *AzureServiceBusQueues) Operations() []bindings.OperationKind
- func (a *AzureServiceBusQueues) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error
Constants ¶
View Source
const ( // AzureServiceBusDefaultMessageTimeToLive defines the default time to live for queues, which is 14 days. The same way Azure Portal does. AzureServiceBusDefaultMessageTimeToLive = time.Hour * 24 * 14 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureServiceBusQueues ¶
type AzureServiceBusQueues struct {
// contains filtered or unexported fields
}
AzureServiceBusQueues is an input/output binding reading from and sending events to Azure Service Bus queues
func NewAzureServiceBusQueues ¶
func NewAzureServiceBusQueues(logger logger.Logger) *AzureServiceBusQueues
NewAzureServiceBusQueues returns a new AzureServiceBusQueues instance
func (*AzureServiceBusQueues) Init ¶
func (a *AzureServiceBusQueues) Init(metadata bindings.Metadata) error
Init parses connection properties and creates a new Service Bus Queue client
func (*AzureServiceBusQueues) Invoke ¶
func (a *AzureServiceBusQueues) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*AzureServiceBusQueues) Operations ¶
func (a *AzureServiceBusQueues) Operations() []bindings.OperationKind
func (*AzureServiceBusQueues) Read ¶
func (a *AzureServiceBusQueues) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error
Click to show internal directories.
Click to hide internal directories.