Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RuleCache ¶
type RuleCache interface { CheckExistsById(id string) bool ForId(id string) (models.Rule, bool) ForName(name string) (models.Rule, bool) All() []models.Rule Add(rule models.Rule) Update(rule models.Rule) RemoveByName(name string) UpdateStateRule(id string, index int, state bool) GetStateRule(id string, index int) bool }
Click to show internal directories.
Click to hide internal directories.