post

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Packge post provides methods for a commandline application to post messages, with optional media file attachments, to a Mastodon API endpoint.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFlagSet

func DefaultFlagSet() *flag.FlagSet

DefaultFlagSet returns a `flag.FlagSet` instance configured with flags for running the 'post' application.

func Run

func Run(ctx context.Context, logger *log.Logger) error

Run will execute the 'post' commandline application with default flags.

func RunWithFlagSet

func RunWithFlagSet(ctx context.Context, fs *flag.FlagSet, logger *log.Logger) error

Run will execute the 'post' commandline application with 'fs'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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