Documentation ¶
Index ¶
- Constants
- func NewDiscord(bot *discord.Session) *discordBot
- func NewGitHub(httpClient *http.Client) *gitHub
- func NewIRC(conn *irc.Connection) *ircBot
- func NewMastodon(client *mstdn.Client) *mastodon
- func NewMatrix(client *matrix.Client) *matrixBot
- func NewSlack(bot *slack.Client) *slackBot
- func NewTelegram(bot *telegram.Bot) *telegramBot
- func NewTwitter(client *twitter.Client) *twitterBot
- func To(ctx context.Context, cols []wayback.Collect, args ...string)
- func UploadToDiscord(bundle *reduxer.Bundle) (files []*discord.File)
- func UploadToSlack(client *slack.Client, bundle *reduxer.Bundle, channel, timestamp string) (err error)
- func UploadToTelegram(bundle *reduxer.Bundle) telegram.Album
- type Publisher
Constants ¶
View Source
const ( FlagWeb = "web" FlagTelegram = "telegram" FlagTwitter = "twitter" FlagMastodon = "mastodon" FlagDiscord = "discord" FlagMatrix = "matrix" FlagSlack = "slack" FlagIRC = "irc" PubBundle = "reduxer-bundle" )
Variables ¶
This section is empty.
Functions ¶
func NewDiscord ¶ added in v0.15.1
NewDiscord returns Discord bot client
func NewIRC ¶ added in v0.9.0
func NewIRC(conn *irc.Connection) *ircBot
func NewMastodon ¶ added in v0.8.0
func NewTelegram ¶ added in v0.10.0
NewTelegram returns Telegram bot client
func NewTwitter ¶ added in v0.8.0
func UploadToDiscord ¶ added in v0.15.1
Types ¶
Click to show internal directories.
Click to hide internal directories.