Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*RuleBot)
func RegisterRuleset ¶
func RegisterRuleset(rule RuleParser) Option
type RuleBot ¶
type RuleBot struct {
RDB *redis.Client
SubClient pb.SubscribeClient
MidClient pb.MiddleClient
MsgClient pb.MessageClient
WfClient pb.WorkflowClient
TaskClient pb.TaskClient
StorageClient pb.StorageClient
// contains filtered or unexported fields
}
func New ¶
func New(c *config.AppConfig, RDB *redis.Client, SubClient pb.SubscribeClient, MidClient pb.MiddleClient, MsgClient pb.MessageClient, WfClient pb.WorkflowClient, TaskClient pb.TaskClient, StorageClient pb.StorageClient, opts ...Option) *RuleBot
func (*RuleBot) MessageProviderOut ¶
Click to show internal directories.
Click to hide internal directories.