Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnonymousClient ¶
func NewAnonymousClient(serverName string) *mastodon.Client
NewAnonymousClient returns a client capable of only returning data using public endpoints. Any authenticated calls through this client will fail.
func RegisterNewClient ¶
RegisterNewClient registers a new authenticated client by starting a local auth server, opening a browser and capturing client id & secret for this user.
Types ¶
type TagTimeline ¶
func FileFeed ¶
func FileFeed(filename string) TagTimeline
FileFeed returns a TagTimeline using the provided filename source
func ServerFeed ¶
func ServerFeed(ctx context.Context, client *mastodon.Client) TagTimeline
ServerFeed returns a TagTimeline using the provided client.
Click to show internal directories.
Click to hide internal directories.