Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "unknown"
Functions ¶
Types ¶
type AccountMap ¶
type Accounts ¶
type Accounts []AccountMap
type Attachments ¶
type Attachments []*mastodon.Attachment
type Mastodon ¶
type Mastodon struct {
Client *mastodon.Client
}
func (Mastodon) ComposeToot ¶
func (m Mastodon) ComposeToot(t *streamtypes.SearchStreamOutput, accs Accounts, tw Twitter) *mastodon.Toot
this is a bit of a monster because we need both mastodon and twitter clients here (to fetch tw media and upload mastodon media) not sure how to solve this best, so far but will work it out in the future
type MastodonConfig ¶
Click to show internal directories.
Click to hide internal directories.