Documentation
¶
Index ¶
- func AskPassword() (string, error)
- func CodeToString(log *logrus.Logger, code int) string
- func ConfigLogger() *logrus.Logger
- func GetEncodedMsg(log *logrus.Logger, msg string, length int) []int64
- func GetLogFile() *os.File
- func GetTwitterClient(log *logrus.Logger) (*twitter.Client, error)
- func InListOfWords(log *logrus.Logger, word string, words []string) (bool, int)
- func LoadWords(log *logrus.Logger, path string) ([]string, error)
- func ProcessWords(log *logrus.Logger, tweetText string) []string
- func ReadMessage(log *logrus.Logger, words []string, senderTwitterUser string, count int)
- func ReverseSlice(s []twitter.Tweet) []twitter.Tweet
- func SearchTweets(log *logrus.Logger, client *twitter.Client, target string) (*twitter.Search, *http.Response, error)
- func SendMessage(log *logrus.Logger, words, hashtags []string, encodedMsg []int64)
- func ShuffleWords(log *logrus.Logger, pwd string, words []string)
- func StringToCode(s string) int64
- func UndoRetweet(log *logrus.Logger, user string, count int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskPassword ¶
AskPassword prompts user for an input that is not echo-ed on terminal.
func ConfigLogger ¶
func GetLogFile ¶
func InListOfWords ¶
func ReadMessage ¶
func SearchTweets ¶
func SearchTweets(log *logrus.Logger, client *twitter.Client, target string) (*twitter.Search, *http.Response, error)
SearchTweets look for tweets with some params and print the result.
func SendMessage ¶
func StringToCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.