beehive: github.com/muesli/beehive/bees/ipifybee Index | Files

package ipify

import "github.com/muesli/beehive/bees/ipifybee"

Index

Package Files

ipifybee.go ipifybeefactory.go

type IpifyBee Uses

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

func (*IpifyBee) Action Uses

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

Action triggers the action passed to it.

func (*IpifyBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*IpifyBee) Run Uses

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

Run executes the Bee's event loop.

type IpifyBeeFactory Uses

type IpifyBeeFactory struct {
    bees.BeeFactory
}

IpifyBeeFactory takes care of initializing IpifyBee

func (*IpifyBeeFactory) Description Uses

func (factory *IpifyBeeFactory) Description() string

Description returns the description of this Bee.

func (*IpifyBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*IpifyBeeFactory) ID Uses

func (factory *IpifyBeeFactory) ID() string

ID returns the ID of this Bee.

func (*IpifyBeeFactory) Image Uses

func (factory *IpifyBeeFactory) Image() string

Image returns the asset name of this Bee (in the assets/bees folder)

func (*IpifyBeeFactory) Name Uses

func (factory *IpifyBeeFactory) Name() string

Name returns the name of this Bee.

func (*IpifyBeeFactory) New Uses

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

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

func (*IpifyBeeFactory) Options Uses

func (factory *IpifyBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

Package ipify imports 3 packages (graph) and is imported by 3 packages. Updated 2019-10-25. Refresh now. Tools for package owners.