Rule filter impl (mock)
This commit is contained in:
@@ -11,6 +11,8 @@ func New(name, impl string) *Impl {
|
|||||||
switch impl {
|
switch impl {
|
||||||
case "units.throttler.Throttler":
|
case "units.throttler.Throttler":
|
||||||
return Throttler(name)
|
return Throttler(name)
|
||||||
|
case "units.rule_filter.RuleFilter":
|
||||||
|
return Echo(name)
|
||||||
default:
|
default:
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user