Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tweet ¶
type Tweet struct { Message *scraper.Message `json:"message"` TweetID int64 `json:"tweet_id"` TweetTime time.Time `json:"tweet_time"` }
Tweet represents an individual tweet and its accompanying message.
type Twitter ¶
type Twitter struct {
// contains filtered or unexported fields
}
Client sends tweets as soon as they are ready.
func New ¶
New creates a new Twitter client. The credentials are checked to ensure that they are valid.
func (*Twitter) Close ¶
func (t *Twitter) Close()
Waits for the client to shutdown. The channel passed to New *must* be closed first.
Click to show internal directories.
Click to hide internal directories.