Documentation ¶
Overview ¶
Package tinderbee is a Bee that can post blogs & quotes on Tinder.
Index ¶
- type TinderBee
- func (mod *TinderBee) Action(action bees.Action) []bees.Placeholder
- func (mod *TinderBee) ReloadOptions(options bees.BeeOptions)
- func (mod *TinderBee) Run(eventChan chan bees.Event)
- func (mod *TinderBee) TriggerRecommendationsEvent(recs *tinder.RecommendationsResponse)
- func (mod *TinderBee) TriggerUpdateEvent(update *tinder.UpdatesResponse)
- func (mod *TinderBee) TriggerUserEvents(user *tinder.UserResponse)
- type TinderBeeFactory
- func (factory *TinderBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *TinderBeeFactory) Description() string
- func (factory *TinderBeeFactory) Events() []bees.EventDescriptor
- func (factory *TinderBeeFactory) ID() string
- func (factory *TinderBeeFactory) Image() string
- func (factory *TinderBeeFactory) LogoColor() string
- func (factory *TinderBeeFactory) Name() string
- func (factory *TinderBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *TinderBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TinderBee ¶
TinderBee is a Bee that can post blogs & quotes on Tinder.
func (*TinderBee) Action ¶
func (mod *TinderBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*TinderBee) ReloadOptions ¶
func (mod *TinderBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
func (*TinderBee) TriggerRecommendationsEvent ¶
func (mod *TinderBee) TriggerRecommendationsEvent(recs *tinder.RecommendationsResponse)
TriggerRecommendationsEvent triggers a recommendation event
func (*TinderBee) TriggerUpdateEvent ¶
func (mod *TinderBee) TriggerUpdateEvent(update *tinder.UpdatesResponse)
TriggerUpdateEvent triggers an update event
func (*TinderBee) TriggerUserEvents ¶
func (mod *TinderBee) TriggerUserEvents(user *tinder.UserResponse)
TriggerUserEvents triggers all events for the given user
type TinderBeeFactory ¶
type TinderBeeFactory struct {
bees.BeeFactory
}
TinderBeeFactory is a factory for TinderBees.
func (*TinderBeeFactory) Actions ¶
func (factory *TinderBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (*TinderBeeFactory) Description ¶
func (factory *TinderBeeFactory) Description() string
Description returns the description of this Bee.
func (*TinderBeeFactory) Events ¶
func (factory *TinderBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (*TinderBeeFactory) ID ¶
func (factory *TinderBeeFactory) ID() string
ID returns the ID of this Bee.
func (*TinderBeeFactory) Image ¶
func (factory *TinderBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (*TinderBeeFactory) LogoColor ¶
func (factory *TinderBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (*TinderBeeFactory) Name ¶
func (factory *TinderBeeFactory) Name() string
Name returns the name of this Bee.
func (*TinderBeeFactory) New ¶
func (factory *TinderBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (*TinderBeeFactory) Options ¶
func (factory *TinderBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.