Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TweetData ¶
type TweetData struct { TweetID string `json:"tweetid"` // tweet id for client lookup NextLoadMS int `json:"nextloadms"` // random next load time Error string `json:"error"` }
TweetData summary tweet data for client
func GetTweetData ¶
GetTweetData get a new TweetData item. Fetch 10 at a time and cache them, giving out one at a time until the cache stack is empty, then reload.
func NewTweetData ¶
NewTweetData get a prepared new tweet data
func TweetDataError ¶
func TweetDataError() *TweetData
TweetDataError get a tweet data instance with an error message
Click to show internal directories.
Click to hide internal directories.