twitter

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTwitter

func NewTwitter(logger logger.Logger) bindings.InputOutputBinding

NewTwitter returns a new Twitter event input binding.

Types

type Binding added in v0.2.0

type Binding struct {
	// contains filtered or unexported fields
}

Binding represents Twitter input/output binding.

func (*Binding) Init added in v0.2.0

func (t *Binding) Init(metadata bindings.Metadata) error

Init initializes the Twitter binding.

func (*Binding) Invoke added in v0.2.0

Invoke handles all operations.

func (*Binding) Operations added in v0.2.0

func (t *Binding) Operations() []bindings.OperationKind

Operations returns list of operations supported by twitter binding.

func (*Binding) Read added in v0.2.0

func (t *Binding) Read(ctx context.Context, handler bindings.Handler) error

Read triggers the Twitter search and events on each result tweet.

Jump to

Keyboard shortcuts

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