Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotWorkflow ¶
type BotWorkflow struct {
// contains filtered or unexported fields
}
func NewBotWorkflow ¶
func NewBotWorkflow(root, mode string, info *commons.SettingsBotInfo, logger gg_log.ILogger, events *gg_events.Emitter) (instance *BotWorkflow, err error)
func (*BotWorkflow) AddHandler ¶
func (instance *BotWorkflow) AddHandler(handler commons.MessageHandler)
func (*BotWorkflow) ClearHandlers ¶
func (instance *BotWorkflow) ClearHandlers()
func (*BotWorkflow) SetHandlers ¶
func (instance *BotWorkflow) SetHandlers(handlers []commons.MessageHandler)
func (*BotWorkflow) Start ¶
func (instance *BotWorkflow) Start() (err error)
func (*BotWorkflow) Stop ¶
func (instance *BotWorkflow) Stop()
type BotWorkflowEngine ¶
type BotWorkflowEngine struct {
// contains filtered or unexported fields
}
func NewBotWorkflowEngine ¶
func NewBotWorkflowEngine(root string, info *commons.SettingsBotInfo, logger gg_log.ILogger) (instance *BotWorkflowEngine, err error)
func (*BotWorkflowEngine) Handle ¶
func (instance *BotWorkflowEngine) Handle(bot commons.IBot, message *commons.BotMessage) (handled bool, response *commons.BotMessage)
func (*BotWorkflowEngine) Stop ¶
func (instance *BotWorkflowEngine) Stop()
Click to show internal directories.
Click to hide internal directories.