twitterscheduler

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TwitterScheduler

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

TwitterScheduler implements the mechanism for periodically fetching all enabled TwitterSources and scheduling a set of jobs for each TwitterSource.

func New

New creates a new TwitterScheduler.

func (*TwitterScheduler) Run

func (fs *TwitterScheduler) Run(ctx context.Context) (err error)

Run starts the twitter-sources scheduling process.

This function should ideally run forever, unless an error is encountered or the context is done.

Jump to

Keyboard shortcuts

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