Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a structure for generating SideKick whispers
func NewController ¶
func NewController(logger *ldk.Logger) (*Controller, error)
NewController returns a pointer to a controller
func (*Controller) OnEvent ¶
func (c *Controller) OnEvent(event ldk.Event) error
OnEvent is called by the host to send an event to the plugin
func (*Controller) Start ¶
func (c *Controller) Start(host ldk.ControllerHost) error
Start is called by the host when the plugin is started to provide access to the host process
func (*Controller) Stop ¶
func (c *Controller) Stop() error
Stop is called by the host when the plugin is stopped
Click to show internal directories.
Click to hide internal directories.