Versions in this module Expand all Collapse all v1 v1.0.1 Mar 14, 2024 v1.0.0 Mar 14, 2024 Changes in this version + type Provider interface + Initial func() error + Name func() string + Type func() ProviderType + Update func() error + VehicleType func() VehicleType + type ProviderType int + const Proxy + const Rule + func (pt ProviderType) String() string + type ProxyProvider interface + HealthCheck func() + Proxies func() []constant.Proxy + Touch func() + type RuleProvider interface + AsRule func(adaptor string) constant.Rule + Behavior func() RuleType + Match func(*constant.Metadata) bool + ShouldResolveIP func() bool + type RuleType int + const Classical + const Domain + const IPCIDR + func (rt RuleType) String() string + type Vehicle interface + Path func() string + Read func() ([]byte, error) + Type func() VehicleType + type VehicleType int + const Compatible + const File + const HTTP + func (v VehicleType) String() string