Documentation ¶
Index ¶
- func GetVariable(db database.Connector, key string) (string, error)
- func Register(args plugins.RegistrationArguments) error
- func RemoveVariable(db database.Connector, key string) error
- func SetVariable(db database.Connector, key, value string) error
- type ActorSetVariable
- func (a ActorSetVariable) Execute(c *irc.Client, m *irc.Message, r *plugins.Rule, ...) (preventCooldown bool, err error)
- func (a ActorSetVariable) IsAsync() bool
- func (a ActorSetVariable) Name() string
- func (a ActorSetVariable) Validate(tplValidator plugins.TemplateValidatorFunc, attrs *plugins.FieldCollection) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(args plugins.RegistrationArguments) error
Types ¶
type ActorSetVariable ¶
type ActorSetVariable struct{}
func (ActorSetVariable) Execute ¶
func (a ActorSetVariable) Execute(c *irc.Client, m *irc.Message, r *plugins.Rule, eventData *plugins.FieldCollection, attrs *plugins.FieldCollection) (preventCooldown bool, err error)
func (ActorSetVariable) IsAsync ¶
func (a ActorSetVariable) IsAsync() bool
func (ActorSetVariable) Name ¶
func (a ActorSetVariable) Name() string
func (ActorSetVariable) Validate ¶
func (a ActorSetVariable) Validate(tplValidator plugins.TemplateValidatorFunc, attrs *plugins.FieldCollection) (err error)
Click to show internal directories.
Click to hide internal directories.