cricketbee

package
v0.0.0-...-e08ef68 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: AGPL-3.0 Imports: 2 Imported by: 0

README

###Options

Accepted favourite team value

  1. Ind (India)
  2. WI (West Indies)
  3. Eng (England)
  4. Aus (Australia)
  5. Pak (Pakistan)
  6. Sri (Srilanka)
  7. Ban (Bangladesh)

###Events

  1. Run change
  2. Over change
  3. Wicket fall

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CricketBee

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

func (*CricketBee) ReloadOptions

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

ReloadOptions parses the config options and initializes the Bee.

func (*CricketBee) Run

func (c *CricketBee) Run(cin chan bees.Event)

type CricketBeeFactory

type CricketBeeFactory struct {
	bees.BeeFactory
}

Cricketbeefactory is a factory for CricketBee.

func (*CricketBeeFactory) Actions

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

Actions describes the available actions provided by this Bee.

func (*CricketBeeFactory) Description

func (factory *CricketBeeFactory) Description() string

Description returns the description of this Bee.

func (*CricketBeeFactory) Events

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

Events describes the available events provided by this Bee.

func (*CricketBeeFactory) ID

func (factory *CricketBeeFactory) ID() string

ID returns the ID of this Bee.

func (*CricketBeeFactory) Image

func (factory *CricketBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*CricketBeeFactory) LogoColor

func (factory *CricketBeeFactory) LogoColor() string

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

func (*CricketBeeFactory) Name

func (factory *CricketBeeFactory) Name() string

Name returns the name of this Bee.

func (*CricketBeeFactory) New

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

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

func (*CricketBeeFactory) Options

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

Options returns the options available to configure this Bee.

Jump to

Keyboard shortcuts

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