walk

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WalkTweets

func WalkTweets(ctx context.Context, opts *WalkOptions, tweets_fh io.Reader)

func WalkTweetsWithCallback

func WalkTweetsWithCallback(ctx context.Context, opts *WalkWithCallbackOptions, tweets_fh io.Reader) error

Types

type WalkOptions

type WalkOptions struct {
	TweetChannel chan []byte
	ErrorChannel chan error
	DoneChannel  chan bool
	QuerySet     *query.QuerySet
}

type WalkTweetsCallbackFunc

type WalkTweetsCallbackFunc func(ctx context.Context, tweet []byte) error

type WalkWithCallbackOptions

type WalkWithCallbackOptions struct {
	Callback WalkTweetsCallbackFunc
	QuerySet *query.QuerySet
}

Jump to

Keyboard shortcuts

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