Documentation
¶
Index ¶
Constants ¶
View Source
const UNIXDATE = "Mon Jan _2 15:04:05 MST 2006"
UNIXDATE standard
Variables ¶
This section is empty.
Functions ¶
func GetTodaysNew ¶
GetTodaysNew followers, friends or tweets
Types ¶
type Config ¶
type Config struct {
DbUser string `yaml:"user"`
DbPassword string `yaml:"password"`
DbSchema string `yaml:"schema"`
Key string `yaml:"key"`
Secret string `yaml:"secret"`
Token string `yaml:"token"`
AccessToken string `yaml:"access_token"`
AccessSecret string `yaml:"access_secret"`
}
Config to use
type Subject ¶
type Subject struct {
UserID int64
Name string
UserName string
Followers int
Friends int
Tweets int64
JoinDate string
Location string
}
Subject to kreep
func (*Subject) AddSubject ¶
AddSubject to insert into followers table
func (*Subject) DropSubject ¶
DropSubject drops all history and stops kreeping subject
func (*Subject) UpdateSubject ¶
UpdateSubject data
type Tweet ¶
Tweet to kreep
func (*Tweet) GetLastTweetID ¶
GetLastTweetID of subject
func (*Tweet) GetNumberOfTimesTweetedAbout ¶
GetNumberOfTimesTweetedAbout a keyword defined
func (*Tweet) SubjectTweetedAbout ¶
SubjectTweetedAbout a keyword defined
func (*Tweet) UpdateTweets ¶
UpdateTweets of subject
Click to show internal directories.
Click to hide internal directories.