cfqueues

package
v1.11.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 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() map[string]string

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