Documentation ¶
Index ¶
Constants ¶
View Source
const RequestTimout = 10
RequestTimout is the timeout of a request in seconds.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
Interface is a common interface for publishers like Misskey.
func NewTokenPublisherByName ¶
NewTokenPublisherByName creates a new Publisher with token auth based on its name.
type Mastodon ¶ added in v1.2.0
type Mastodon struct {
Client *mastodon.Client
}
Mastodon publisher.
func NewMastodon ¶ added in v1.2.0
NewMastodon creates a new Mastodon publisher.
type Misskey ¶
type Misskey struct {
Client misskey.ClientInterface
}
Misskey publisher.
func NewMisskey ¶
NewMisskey creates a new Misskey publisher.
Click to show internal directories.
Click to hide internal directories.