servicebusqueues

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 7 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) 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