Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) GetLastTrigger(plugin string, payload ...interface{}) interface{}
- func (p *Plugin) Info(plugin string) interface{}
- func (p *Plugin) Install(plugin string, sourceCode []byte) error
- func (p *Plugin) List() []interface{}
- func (p *Plugin) Trigger(plugin string, payload ...interface{}) error
- func (p *Plugin) Uninstall(plugin string) error
- func (p *Plugin) Upgrade(plugin string, sourceCode []byte) error
- type Service
- func (s *Service) Info(s3 string, s2 string, i ...interface{}) (interface{}, error)
- func (s *Service) Install(i interface{}) error
- func (s *Service) List() (interface{}, error)
- func (s *Service) Trigger(plugin string) error
- func (s *Service) Uninstall(s2 string) error
- func (s *Service) Upgrade(i interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { Databases *models.Repository Config *models.PluginsConfig Log logger.Logger }
func (*Plugin) GetLastTrigger ¶
Click to show internal directories.
Click to hide internal directories.