Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectMessage ¶
type DirectMessage struct { CreatedAt string `json:"created_at"` ID int64 `json:"id"` IDStr string `json:"id_str"` RecipientID int64 `json:"recipient_id"` RecipientScreenName string `json:"recipient_screen_name"` SenderID int64 `json:"sender_id"` SenderScreenName string `json:"sender_screen_name"` Text string `json:"text"` }
type FriendsList ¶
type FriendsList struct {
Friends []int64 `json:"friends"`
}
type LocationDeletion ¶
type StallWarning ¶
type StatusDeletion ¶
type StatusService ¶
type StatusService struct {
// contains filtered or unexported fields
}
type StatusWithheld ¶
type Stream ¶
type Stream struct { Messages chan interface{} // contains filtered or unexported fields }
type StreamDisconnect ¶
type StreamFilterParams ¶
type StreamFilterParams struct { Localtion []string `url:"locations,omitempty,comma"` Track []string `url:"track,omitempty,comma"` }
Stream filter . I just need language right now
type StreamLimit ¶
type StreamLimit struct {
Track int64 `json:"track"`
}
type StreamService ¶
type StreamService struct {
// contains filtered or unexported fields
}
func (*StreamService) Filter ¶
func (s *StreamService) Filter(p *StreamFilterParams) (*Stream, error)
func (*StreamService) Sample ¶
func (s *StreamService) Sample() (*Stream, error)
type Tweet ¶
type Tweet struct { CreatedAt string `json:"created_at"` FavoriteCount int `json:"favorite_count"` Favorited bool `json:"favorited"` FilterLevel string `json:"filter_level"` ID int64 `json:"id"` IDStr string `json:"id_str"` InReplyToScreenName string `json:"in_reply_to_screen_name"` InReplyToStatusID int64 `json:"in_reply_to_status_id"` InReplyToStatusIDStr string `json:"in_reply_to_status_id_str"` InReplyToUserID int64 `json:"in_reply_to_user_id"` InReplyToUserIDStr string `json:"in_reply_to_user_id_str"` Lang string `json:"lang"` PossiblySensitive bool `json:"possibly_sensitive"` RetweetCount int `json:"retweet_count"` Retweeted bool `json:"retweeted"` RetweetedStatus *Tweet `json:"retweeted_status"` Source string `json:"source"` Text string `json:"text"` Truncated bool `json:"truncated"` WithheldCopyright bool `json:"withheld_copyright"` WithheldInCountries []string `json:"withheld_in_countries"` WithheldScope string `json:"withheld_scope"` QuotedStatusID int64 `json:"quoted_status_id"` QuotedStatusIDStr string `json:"quoted_status_id_str"` QuotedStatus *Tweet `json:"quoted_status"` }
type TwitterClient ¶
type TwitterClient struct { Streams *StreamService // contains filtered or unexported fields }
func NewClient ¶
func NewClient(conf *conf.TwitterKey) (*TwitterClient, error)
type UserWithheld ¶
Click to show internal directories.
Click to hide internal directories.