Documentation
¶
Overview ¶
Package batch any batch level manipulations via graw
Index ¶
- func GetAllReplies(bot gwrap.Bot, thread string, c chan gwrap.Comment, wg *sync.WaitGroup)
- func NewBatch(botAgentFile string) gwrap.Bot
- func RepliesProducer(bot gwrap.Bot, subreddit string, thread string, regex string) <-chan []string
- func RepliesProducerMerged(bot gwrap.Bot, subreddit string, thread string, regex string, c chan []string) <-chan []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllReplies ¶
GetAllReplies to get all comments of a particular thread bot: reddit Bot, thread: thread, c: channel, wg WaitGroup ref
func NewBatch ¶
NewBatch creates batch style handler for graw bot interactions botAgentFile: the name of the bot agent file to use
func RepliesProducer ¶
RepliesProducer creates a goroutine to return a receiving channel of reddit replies to a thread bot: reddit bot, subreddit: subreddit, thread: thread, regex: regex search pattern form based
func RepliesProducerMerged ¶
func RepliesProducerMerged(bot gwrap.Bot, subreddit string, thread string, regex string, c chan []string) <-chan []string
RepliesProducerMerged creates a goroutine to return a receiving channel of reddit replies to a thread Uses a shared channel to merge results bot: reddit bot, subreddit: subreddit, thread: thread, regex: regex search pattern form based
Types ¶
This section is empty.