Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Search ¶
type Search struct {
SearchID SearchID
UserID UserID
Title string
Query string
LastSearchUpdatedAt *time.Time
NextSearchUpdateAt time.Time
CreatedAt time.Time
UpdatedAt time.Time
}
Search is the structure of a searching configuration.
type Tweet ¶
type Tweet struct {
TweetID TweetID `json:",string"`
SearchID SearchID
AuthorID int64 `json:",string"`
User *TwitterUser
Text string
SentimentScore *sentiment.Score
SentimentLabel sentiment.Label
Entities twitter.Entities
ExpirationUnixTime int64 `json:"-"`
TweetCreatedAt time.Time
CreatedAt time.Time
UpdatedAt time.Time
}
Tweet is the structure of a tweet.
type TwitterUser ¶
type TwitterUser struct {
ID int64 `json:",string"`
Name string
ScreenName string
ProfileImageURL string
}
TwitterUser represents Twitter user object.
Click to show internal directories.
Click to hide internal directories.