Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. type AutoGenerated struct {
  2. Stream struct {
  3. ID int64 `json:"_id"`
  4. Game string `json:"game"`
  5. Viewers int `json:"viewers"`
  6. VideoHeight int `json:"video_height"`
  7. AverageFps float64 `json:"average_fps"`
  8. Delay int `json:"delay"`
  9. CreatedAt time.Time `json:"created_at"`
  10. IsPlaylist bool `json:"is_playlist"`
  11. StreamType string `json:"stream_type"`
  12. Preview struct {
  13. Small string `json:"small"`
  14. Medium string `json:"medium"`
  15. Large string `json:"large"`
  16. Template string `json:"template"`
  17. } `json:"preview"`
  18. Channel struct {
  19. Mature bool `json:"mature"`
  20. Partner bool `json:"partner"`
  21. Status string `json:"status"`
  22. BroadcasterLanguage string `json:"broadcaster_language"`
  23. BroadcasterSoftware string `json:"broadcaster_software"`
  24. DisplayName string `json:"display_name"`
  25. Game string `json:"game"`
  26. Language string `json:"language"`
  27. ID int `json:"_id"`
  28. Name string `json:"name"`
  29. CreatedAt time.Time `json:"created_at"`
  30. UpdatedAt time.Time `json:"updated_at"`
  31. Delay interface{} `json:"delay"`
  32. Logo string `json:"logo"`
  33. Banner interface{} `json:"banner"`
  34. VideoBanner interface{} `json:"video_banner"`
  35. Background interface{} `json:"background"`
  36. ProfileBanner interface{} `json:"profile_banner"`
  37. ProfileBannerBackgroundColor string `json:"profile_banner_background_color"`
  38. URL string `json:"url"`
  39. Views int `json:"views"`
  40. Followers int `json:"followers"`
  41. Links struct {
  42. Self string `json:"self"`
  43. Follows string `json:"follows"`
  44. Commercial string `json:"commercial"`
  45. StreamKey string `json:"stream_key"`
  46. Chat string `json:"chat"`
  47. Features string `json:"features"`
  48. Subscriptions string `json:"subscriptions"`
  49. Editors string `json:"editors"`
  50. Teams string `json:"teams"`
  51. Videos string `json:"videos"`
  52. } `json:"_links"`
  53. } `json:"channel"`
  54. Links struct {
  55. Self string `json:"self"`
  56. } `json:"_links"`
  57. } `json:"stream"`
  58. Links struct {
  59. Self string `json:"self"`
  60. Channel string `json:"channel"`
  61. } `json:"_links"`
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement