Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nats ¶
type Nats struct {
// contains filtered or unexported fields
}
func (*Nats) RegisterWorker ¶
type Twitter ¶
type Twitter struct {
// contains filtered or unexported fields
}
func (*Twitter) GetFollowers ¶
func (t *Twitter) GetFollowers(username string) []*TwitterProfile
func (*Twitter) GetFollowings ¶
func (t *Twitter) GetFollowings(username string) []*TwitterProfile
func (*Twitter) GetProfile ¶
func (t *Twitter) GetProfile(username string) (*TwitterProfile, error)
type TwitterProfile ¶
type TwitterProfile struct { CreatedAt time.Time UpdatedAt time.Time //Twitter Data TwitterID string Name string Username string Location string Bio string URL string Email string ProfileBannerURL string ProfileImageURL string Verified bool Protected bool DefaultProfile bool DefaultProfileImage bool FollowersCount int FollowingsCount int FavouritesCount int ListedCount int TweetsCount int Entities map[string]interface{} JoinedAt time.Time FollowingsIDs []string // TwitterID references FollowersIDs []string // TwitterID references }
TwitterProfile represents a user's profile on Twitter.
Click to show internal directories.
Click to hide internal directories.