cfqueues

package
v1.12.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCFQueues

func NewCFQueues(logger logger.Logger) bindings.OutputBinding

NewCFQueues returns a new CFQueues.

Types

type CFQueues

type CFQueues struct {
	*workers.Base
	// contains filtered or unexported fields
}

CFQueues is a binding for publishing messages on Cloudflare Queues

func (*CFQueues) Close

func (q *CFQueues) Close() error

Close the component

func (*CFQueues) GetComponentMetadata added in v1.11.0

func (q *CFQueues) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*CFQueues) Init

func (q *CFQueues) Init(_ context.Context, metadata bindings.Metadata) error

Init the component.

func (*CFQueues) Invoke

Invoke the output binding.

func (CFQueues) Operations

func (q CFQueues) Operations() []bindings.OperationKind

Operations returns the supported operations for this binding.

Jump to

Keyboard shortcuts

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