mastodon

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mastodon

type Mastodon struct {
	// contains filtered or unexported fields
}

func NewMastodon

func NewMastodon(server string, clientID string, clientSecret string, username string, password string) *Mastodon

NewMastodon initializes a new Mastodon client

func (*Mastodon) Toot

func (m *Mastodon) Toot(message string) error

Toot publishes a toot on Mastodon

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL