Documentation
¶
Index ¶
- type Activate
- type Adaptive
- type AddEntries
- type BoundingBox
- type Content
- type ContentTweet
- type Coordinates
- type Cursor
- type Entry
- type Error
- type ErrorResponse
- type Geo
- type GlobalObjects
- type Instruction
- type Item
- type ItemContent
- type LatLong
- type LongLat
- type Operation
- type Place
- type ReplaceEntry
- type RubyDate
- type Timeline
- type Tweet
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adaptive ¶
type Adaptive struct {
GlobalObjects GlobalObjects `json:"globalObjects"`
Timeline Timeline `json:"timeline"`
}
func (*Adaptive) FindCursor ¶
type AddEntries ¶
type AddEntries struct {
Entries []Entry `json:"entries"`
}
type BoundingBox ¶
type ContentTweet ¶
type Coordinates ¶
type ErrorResponse ¶
type ErrorResponse struct {
Errors []Error `json:"errors"`
}
func (*ErrorResponse) Error ¶
func (res *ErrorResponse) Error() string
type GlobalObjects ¶
type Instruction ¶
type Instruction struct {
AddEntries AddEntries `json:"addEntries"`
ReplaceEntry ReplaceEntry `json:"replaceEntry"`
}
type Item ¶
type Item struct {
Content ItemContent `json:"content"`
}
type ItemContent ¶
type ItemContent struct {
Tweet ContentTweet `json:"tweet"`
}
type ReplaceEntry ¶
type RubyDate ¶
func (*RubyDate) UnmarshalJSON ¶
type Timeline ¶
type Timeline struct {
Id string `json:"id"`
Instructions []Instruction `json:"instructions"`
}
type Tweet ¶
type Tweet struct {
Id uint64 `json:"id"`
UserId uint64 `json:"user_id"`
FullText string `json:"full_text"`
RetweetCount uint64 `json:"retweet_count"`
FavoriteCount uint64 `json:"favorite_count"`
ReplyCount uint64 `json:"reply_count"`
QuoteCount uint64 `json:"quote_count"`
Geo *Geo `json:"geo"` // deprecated
Coordinates *Coordinates `json:"coordinates"`
Place *Place `json:"place"`
Lang string `json:"lang"`
Source string `json:"source"`
CreatedAt RubyDate `json:"created_at"`
}
type User ¶
type User struct {
Id uint64 `json:"id"`
Name string `json:"name"`
ScreenName string `json:"screen_name"`
Location string `json:"location"`
Description string `json:"description"`
Url string `json:"url"`
FollowersCount uint64 `json:"followers_count"`
FriendsCount uint64 `json:"friends_count"`
ListedCount uint64 `json:"listed_count"`
FavouritesCount uint64 `json:"favourites_count"`
StatusesCount uint64 `json:"statuses_count"`
MediaCount uint64 `json:"media_count"`
Verified bool `json:"verified"`
CreatedAt RubyDate `json:"created_at"`
}
Click to show internal directories.
Click to hide internal directories.