mastodon

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send() *cli.Command

Send parse values from *cli.context and return *cli.Command and sets a status message for mastodon.

Types

type HTTPClient added in v0.2.0

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient interface

var Client HTTPClient

type Mastodon

type Mastodon struct {
	Title     string
	Token     string
	ServerURL string
	Message   string
}

Mastodon struct holds data parsed via flags for the service

Jump to

Keyboard shortcuts

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