Documentation ¶
Index ¶
- type RedisBee
- type RedisBeeFactory
- func (factory *RedisBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *RedisBeeFactory) Description() string
- func (factory *RedisBeeFactory) Events() []bees.EventDescriptor
- func (factory *RedisBeeFactory) ID() string
- func (factory *RedisBeeFactory) Image() string
- func (factory *RedisBeeFactory) Name() string
- func (factory *RedisBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *RedisBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisBee ¶
RedisBee is able to pubsub to Redis and store key/values
func (*RedisBee) Action ¶
func (mod *RedisBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*RedisBee) ReloadOptions ¶
func (mod *RedisBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
type RedisBeeFactory ¶
type RedisBeeFactory struct {
bees.BeeFactory
}
RedisBeeFactory takes care of initializing RedisBee
func (*RedisBeeFactory) Actions ¶
func (factory *RedisBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (*RedisBeeFactory) Description ¶
func (factory *RedisBeeFactory) Description() string
Description returns the description of this Bee.
func (*RedisBeeFactory) Events ¶
func (factory *RedisBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (*RedisBeeFactory) ID ¶
func (factory *RedisBeeFactory) ID() string
ID returns the ID of this Bee.
func (*RedisBeeFactory) Image ¶
func (factory *RedisBeeFactory) Image() string
Image returns the asset name of this Bee (in the assets/bees folder)
func (*RedisBeeFactory) Name ¶
func (factory *RedisBeeFactory) Name() string
Name returns the name of this Bee.
func (*RedisBeeFactory) New ¶
func (factory *RedisBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (*RedisBeeFactory) Options ¶
func (factory *RedisBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.