Documentation
¶
Index ¶
- Constants
- func DeleteMyTweets()
- func GetTheirTweets(screenName string) ([]anaconda.Tweet, error)
- func HandleRequest(w http.ResponseWriter, r *http.Request)
- func PostATweet(inReplyTo, text string) error
- func PrettyPrint(v interface{}) string
- func PrintTheirTweets(screenName string)
- func RunAJob() error
Constants ¶
View Source
const ( HisScreenName = "SummerhillRain" MyScreenName = "MetricMartin" TESTING = false TWITTER_CONSUMER_KEY = "TWITTER_CONSUMER_KEY" TWITTER_CONSUMER_SECRET = "TWITTER_CONSUMER_SECRET" TWITTER_ACCESS_TOKEN = "TWITTER_ACCESS_TOKEN" TWITTER_ACCESS_TOKEN_SECRET = "TWITTER_ACCESS_TOKEN_SECRET" PROJECT_ID = "metric-rain-twitter-bot" )
Variables ¶
This section is empty.
Functions ¶
func DeleteMyTweets ¶
func DeleteMyTweets()
func HandleRequest ¶
func HandleRequest(w http.ResponseWriter, r *http.Request)
HandleRequest is called by Google Cloud Functions when a webhook is received
func PostATweet ¶
func PrettyPrint ¶
func PrettyPrint(v interface{}) string
func PrintTheirTweets ¶
func PrintTheirTweets(screenName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.