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 // contains filtered or unexported fields }
func New ¶
func New(name string, RDB *redis.Client, SubClient pb.SubscribeClient, MidClient pb.MiddleClient, MsgClient pb.MessageClient, WfClient pb.WorkflowClient, opts ...Option) *RuleBot
func (*RuleBot) MessageProviderOut ¶
Click to show internal directories.
Click to hide internal directories.