mastodon

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: GPL-3.0 Imports: 14 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 {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *Mastodon

New mastodon struct.

func (*Mastodon) Serve

func (m *Mastodon) Serve(ctx context.Context) error

Serve loop request direct messages from the Mastodon instance. Serve always returns a nil error.

Jump to

Keyboard shortcuts

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