package
2.0.0
Repository: https://github.com/aaronland/go-mastodon-api.git
Documentation: pkg.go.dev

# Functions

Create a new instance of the Client interface.
NewOAuth2Client returns a new `OAuth2Client` instance configured by 'uri' which is expected to take the form of: oauth2://:{OAUTH2_ACCESS_TOKEN}@{MASTODON_HOST}.
Post
Post is a helper method to use 'cl' to post a message to Mastodon with 'post' and 'visibility' and zero or more media files.
Register a new URI scheme and ClientInitializeFunc function for a implementation of the Client interface.
Return a list of URI schemes for registered implementations of the Client interface.
Upload is a helper method to use 'cl' to upload 'media' to a Mastodon server.

# Structs

OAuth2Client implements the `Client` interface using OAuth2 access tokens for authentication and authorization.

# Interfaces

Client is the interface that defines common methods for all Mastodon API Client implementations.

# Type aliases

The initialization function signature for implementation of the Client interface.