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 { SubClient pb.SubscribeClient MidClient pb.MiddleClient // contains filtered or unexported fields }
func New ¶
func New(name string, v *viper.Viper, SubClient pb.SubscribeClient, MidClient pb.MiddleClient, opts ...Option) *RuleBot
func (*RuleBot) MessageProviderOut ¶
Click to show internal directories.
Click to hide internal directories.