htmlextractbee

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 3 Imported by: 4

Documentation

Overview

Package htmlextractbee is a Bee that can extract metadata from HTTP URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLExtractBee

type HTMLExtractBee struct {
	bees.Bee
	// contains filtered or unexported fields
}

HTMLExtractBee is a Bee that can extract metadata from HTTP URLs.

func (*HTMLExtractBee) Action

func (mod *HTMLExtractBee) Action(action bees.Action) []bees.Placeholder

Action triggers the action passed to it.

func (*HTMLExtractBee) ReloadOptions

func (mod *HTMLExtractBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

func (*HTMLExtractBee) Run

func (mod *HTMLExtractBee) Run(eventChan chan bees.Event)

Run executes the Bee's event loop.

type HTMLExtractBeeFactory

type HTMLExtractBeeFactory struct {
	bees.BeeFactory
}

HTMLExtractBeeFactory is a factory for HTMLExtractBees.

func (*HTMLExtractBeeFactory) Actions

func (factory *HTMLExtractBeeFactory) Actions() []bees.ActionDescriptor

Actions describes the available actions provided by this Bee.

func (*HTMLExtractBeeFactory) Description

func (factory *HTMLExtractBeeFactory) Description() string

Description returns the description of this Bee.

func (*HTMLExtractBeeFactory) Events

func (factory *HTMLExtractBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*HTMLExtractBeeFactory) ID

func (factory *HTMLExtractBeeFactory) ID() string

ID returns the ID of this Bee.

func (*HTMLExtractBeeFactory) Image

func (factory *HTMLExtractBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*HTMLExtractBeeFactory) LogoColor

func (factory *HTMLExtractBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*HTMLExtractBeeFactory) Name

func (factory *HTMLExtractBeeFactory) Name() string

Name returns the name of this Bee.

func (*HTMLExtractBeeFactory) New

func (factory *HTMLExtractBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

Jump to

Keyboard shortcuts

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