Versions in this module Expand all Collapse all v1 v1.0.1 Dec 27, 2021 v1.0.0 Mar 31, 2021 Changes in this version + const Namespace + type CIDRFilter struct + func (f *CIDRFilter) Allow(ip string) bool + func (f *CIDRFilter) Deny(ip string) bool + type Config struct + Allow []string + Deny []string + func ParseConfig(e config.ExtraConfig, logger logging.Logger) *Config + type IPFilter interface + Allow func(ip string) bool + Deny func(ip string) bool + func NewIPFilter(cfg *Config) IPFilter + type NoopFilter struct + func (noop *NoopFilter) Allow(_ string) bool + func (noop *NoopFilter) Deny(_ string) bool Other modules containing this package github.com/xiachufang/krakend-ipfilter/v2