(config []interface{})
| 459 | |
| 460 | func (s *customRatelimitSpec) Name() string { return "customRatelimit" } |
| 461 | func (s *customRatelimitSpec) CreateFilter(config []interface{}) (filters.Filter, error) { |
| 462 | log.Infof("Registry: %v", s.registry) |
| 463 | return &customRatelimitFilter{}, nil |
| 464 | } |
| 465 | func (f *customRatelimitFilter) Request(ctx filters.FilterContext) {} |
| 466 | func (f *customRatelimitFilter) Response(ctx filters.FilterContext) {} |
| 467 |