Guest User

Untitled

a guest
Jul 21st, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. package twitterstream
  2.  
  3. type Hashtags struct {
  4. Indices []int
  5. Text string
  6. }
  7.  
  8. type Urls struct {
  9. Url string
  10. Indices []int
  11. Display_url string
  12. Expanded_url string
  13. }
  14.  
  15. type User_mentions struct {
  16. Indices []int
  17. Screen_name string
  18. Id_str string
  19. Name string
  20. Id int64
  21. }
  22.  
  23. type Entities struct {
  24. Hashtags []Hashtags
  25. Urls []Urls
  26. User_mentions []User_mentions
  27. }
  28.  
  29. type User struct {
  30. Lang string
  31. Verified bool
  32. Followers_count int
  33. Location string
  34. Screen_name string
  35. Following bool
  36. Friends_count int
  37. Profile_background_color string
  38. Favourites_count int
  39. Description string
  40. Notifications string
  41. Profile_text_color string
  42. Url string
  43. Time_zone string
  44. Statuses_count int
  45. Profile_link_color string
  46. Geo_enabled bool
  47. Profile_background_image_url string
  48. Protected bool
  49. Contributors_enabled bool
  50. Profile_sidebar_fill_color string
  51. Name string
  52. Profile_background_tile string
  53. Created_at string
  54. Profile_image_url string
  55. Id int64
  56. Id_str string
  57. Utc_offset int
  58. Profile_sidebar_border_color string
  59. }
  60.  
  61. type Tweet struct {
  62. Text string
  63. Truncated bool
  64. Geo string
  65. In_reply_to_screen_name string
  66. Favorited bool
  67. Source string
  68. Contributors string
  69. In_reply_to_status_id string
  70. In_reply_to_user_id int64
  71. Id int64
  72. Created_at string
  73. Entities Entities
  74. User User
  75. }
  76.  
  77. type SiteStreamMessage struct {
  78. For_user int64
  79. Message Tweet
  80. }
  81.  
  82. type Event struct {
  83. Target User
  84. Source User
  85. Created_at string
  86. Event string
  87. }
  88.  
  89. type FriendList struct {
  90. Friends []int64
  91. }
Add Comment
Please, Sign In to add comment