* Copyright (C) 2020 Christian Muehlhaeuser * 2020 Nicolas Martin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * Authors: * Christian Muehlhaeuser <firstname.lastname@example.org> * Nicolas Martin <email@example.com>
Package mastodonbee is a Bee that can connect to mastodon.
MastodonBee is a Bee that can connect to mastodon.
Action triggers the action passed to it.
ReloadOptions parses the config options and initializes the Bee.
Run executes the Bee's event loop.
MastodonBeeFactory is a factory for mastodonBees.
Actions describes the available actions provided by this Bee.
Description returns the description of this Bee.
Events describes the available events provided by this Bee.
ID returns the ID of this Bee.
Image returns the filename of an image for this Bee.
LogoColor returns the preferred logo background color (used by the admin interface).
Name returns the name of this Bee.
func (factory *MastodonBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
Options returns the options available to configure this Bee.