Documentation
¶
Index ¶
- type Config
- type Script
- func (s *Script) SendMessageEvent(scriptPath []string, topic string, payload map[string]interface{})
- func (s *Script) SetBotHandler(bot entity.BotHandler)
- func (s *Script) SetNotificationHandler(notify entity.NotificationHandler)
- func (s *Script) SetPublishChannel(ch chan *entity.PublishEvent)
- func (s *Script) SetSubscribeChannel(ch chan *entity.SubscribeEvent)
- func (s *Script) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Script ¶
type Script struct {
// contains filtered or unexported fields
}
func (*Script) SendMessageEvent ¶
func (*Script) SetBotHandler ¶
func (s *Script) SetBotHandler(bot entity.BotHandler)
func (*Script) SetNotificationHandler ¶
func (s *Script) SetNotificationHandler(notify entity.NotificationHandler)
func (*Script) SetPublishChannel ¶
func (s *Script) SetPublishChannel(ch chan *entity.PublishEvent)
func (*Script) SetSubscribeChannel ¶
func (s *Script) SetSubscribeChannel(ch chan *entity.SubscribeEvent)
Click to show internal directories.
Click to hide internal directories.