jobs

package
v0.0.0-...-8c4bcf2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHomeTimeline

func CheckHomeTimeline(client *twitter.Client, tweetChan chan<- match.TweetWrapper)

CheckHomeTimeline requests the user home timeline about every minute and puts all new tweets in tweetChan. it also includes replies which would normally not be shown in the timeline. TL;DR: it stalks all users the account follows, even their replies

func CheckListTimeline

func CheckListTimeline(client *twitter.Client, list twitter.List, tweetChan chan<- match.TweetWrapper)

CheckListTimeline requests the given lists about every minute or so. Any new tweets are put in tweetChan.

func CheckLocationStream

func CheckLocationStream(client *twitter.Client, tweetChan chan<- match.TweetWrapper)

CheckLocationStream checks out tweets from a large area around boca chica

func CheckUserTimeline

func CheckUserTimeline(client *twitter.Client, name string, tweetChan chan<- match.TweetWrapper)

CheckUserTimeline requests the given user profile every few minutes or so

func CheckYouTubeLive

func CheckYouTubeLive(client consumer.TwitterClient, user *twitter.User, matcher *match.StarshipMatcher, linkChan <-chan string)

CheckYouTubeLive checks SpaceX's youtube live stream every 1-2 minutes and tweets if there is a starship launch stream

func Register

func Register(
	client *twitter.Client, wrappedTwitterClient consumer.TwitterClient, selfUser *twitter.User,
	matcher *match.StarshipMatcher, tweetChan chan match.TweetWrapper,
	skipLists map[int64]bool) (err error)

func RunWebServer

func RunWebServer(c config.Config, t consumer.TwitterClient, p *consumer.Processor, tweetChan chan<- match.TweetWrapper)

func StarshipWebsiteChanges

func StarshipWebsiteChanges(client consumer.TwitterClient, linkChan chan<- string)

StarshipWebsiteChanges watches the SpaceX starship page and tweets when the date or starship serial number change

Types

This section is empty.

Jump to

Keyboard shortcuts

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