beehive: Index | Files

package socketbee

import ""

Package socketbee is a Bee that lets you transmit data via UDP sockets.


Package Files

socketbee.go socketbeefactory.go

type SocketBee Uses

type SocketBee struct {
    // contains filtered or unexported fields

SocketBee is a Bee that lets you transmit data via UDP sockets.

func (*SocketBee) Action Uses

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

Action triggers the action passed to it.

func (*SocketBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*SocketBee) Run Uses

func (mod *SocketBee) Run(cin chan bees.Event)

Run executes the Bee's event loop.

type SocketBeeFactory Uses

type SocketBeeFactory struct {

SocketBeeFactory is a factory for SocketBees.

func (*SocketBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*SocketBeeFactory) Description Uses

func (factory *SocketBeeFactory) Description() string

Description returns the description of this Bee.

func (*SocketBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*SocketBeeFactory) ID Uses

func (factory *SocketBeeFactory) ID() string

ID returns the ID of this Bee.

func (*SocketBeeFactory) Image Uses

func (factory *SocketBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*SocketBeeFactory) LogoColor Uses

func (factory *SocketBeeFactory) LogoColor() string

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

func (*SocketBeeFactory) Name Uses

func (factory *SocketBeeFactory) Name() string

Name returns the name of this Bee.

func (*SocketBeeFactory) New Uses

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

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

Package socketbee imports 4 packages (graph) and is imported by 3 packages. Updated 2019-05-04. Refresh now. Tools for package owners.