Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RuleFilter ¶
func RuleFilter(rules []RuleConfig, s string) (bool, error)
RuleFilter filter string according to rules. Return true if the 'allow' rule matches, false otherwise.
Types ¶
type RuleConfig ¶
Click to show internal directories.
Click to hide internal directories.