twitter

package
v1.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding added in v0.2.0

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

Binding represents Twitter input/output binding

func NewTwitter

func NewTwitter(logger logger.Logger) *Binding

NewTwitter returns a new Twitter event input 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(handler func(*bindings.ReadResponse) error) 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