Documentation ¶
Index ¶
- func FixTwitterTime(timeStr string) (string, error)
- func FixTwitterTimeRFC3339(timeStr string) (string, error)
- type Config
- func (config *Config) GetUser(queryParams *QueryParams) (*twitter.User, *http.Response, error)
- func (c *Config) GetUserFavorites(queryParams *QueryParams) ([]twitter.Tweet, *http.Response, error)
- func (c *Config) GetUserFollowers(queryParams *QueryParams) (*twitter.Followers, *http.Response, error)
- func (c *Config) GetUserFriends(queryParams *QueryParams) (*twitter.Friends, *http.Response, error)
- func (c *Config) GetUserTimeline(queryParams *QueryParams) ([]twitter.Tweet, *http.Response, error)
- func (c *Config) LookupTweets(ids []int64) ([]twitter.Tweet, *http.Response, error)
- func (c *Config) LookupUsers(lookupParams *twitter.UserLookupParams) ([]twitter.User, *http.Response, error)
- type Option
- type QueryParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixTwitterTime ¶
func FixTwitterTimeRFC3339 ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Configuration structure.
func (*Config) GetUserFavorites ¶
func (c *Config) GetUserFavorites(queryParams *QueryParams) ([]twitter.Tweet, *http.Response, error)
GetUserFavorites returns a user's Twitter favorites (likes).
func (*Config) GetUserFollowers ¶
func (c *Config) GetUserFollowers(queryParams *QueryParams) (*twitter.Followers, *http.Response, error)
GetUserFollowers returns a user's Twitter followers.
func (*Config) GetUserFriends ¶
GetUserFriends returns a user's Twitter friends.
func (*Config) GetUserTimeline ¶
GetUserTimeline returns a user's Twitter timeline.
func (*Config) LookupTweets ¶
func (*Config) LookupUsers ¶
type Option ¶
type Option func(config *Config)
func SetAccessSecret ¶
func SetAccessToken ¶
func SetConsumerKey ¶
func SetConsumerSecret ¶
Click to show internal directories.
Click to hide internal directories.