mastodon

package module
v0.0.3 Latest Latest
Warning

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

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

README

go-broadcaster-mastodon

Go package implementing the aaronland/go-broadcaster interfaces for broadcasting messages to Mastodon.

Documentation

Documentation is incomplete at this time.

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMastodonBroadcaster

func NewMastodonBroadcaster(ctx context.Context, uri string) (broadcaster.Broadcaster, error)

Types

type MastodonBroadcaster

type MastodonBroadcaster struct {
	broadcaster.Broadcaster
	// contains filtered or unexported fields
}

func (*MastodonBroadcaster) BroadcastMessage

func (b *MastodonBroadcaster) BroadcastMessage(ctx context.Context, msg *broadcaster.Message) (uid.UID, error)

func (*MastodonBroadcaster) SetLogger

func (b *MastodonBroadcaster) SetLogger(ctx context.Context, logger *log.Logger) error

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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