servicebusqueues

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

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) Close added in v1.4.4

func (a *AzureServiceBusQueues) Close() error

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 (*AzureServiceBusQueues) Operations

func (a *AzureServiceBusQueues) Operations() []bindings.OperationKind

func (*AzureServiceBusQueues) Read

func (a *AzureServiceBusQueues) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL