forked from hoisie/twitterstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
63 lines (58 loc) · 1.76 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package twitterstream
type User struct {
Lang string
Verified bool
Followers_count int
Location string
Screen_name string
Following bool
Friends_count int
Profile_background_color string
Favourites_count int
Description string
Notifications string
Profile_text_color string
Url string
Time_zone string
Statuses_count int
Profile_link_color string
Geo_enabled bool
Profile_background_image_url string
Protected bool
Contributors_enabled bool
Profile_sidebar_fill_color string
Name string
Profile_background_tile string
Created_at string
Profile_image_url string
Id int64
Utc_offset int
Profile_sidebar_border_color string
}
type Tweet struct {
Text string
Truncated bool
Geo string
In_reply_to_screen_name string
Favorited bool
Source string
Contributors string
In_reply_to_status_id string
In_reply_to_user_id int64
Id int64
Created_at string
User *User
}
type SiteStreamMessage struct {
For_user int64
Message Tweet
}
type Event struct {
Target User
Source User
Created_at string
Event string
}
type FriendList struct {
Friends []int64
}