Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 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() + HealthCheckURL func() string + Proxies func() []constant.Proxy + RegisterHealthCheckTask func(url string, expectedStatus utils.IntRanges[uint16], filter string, ...) + Touch func() + Version func() uint32 + type RuleBehavior int + const Classical + const Domain + const IPCIDR + func (rt RuleBehavior) String() string + type RuleFormat int + const TextRule + const YamlRule + func (rf RuleFormat) String() string + type RuleProvider interface + AsRule func(adaptor string) constant.Rule + Behavior func() RuleBehavior + Match func(*constant.Metadata) bool + ShouldFindProcess func() bool + ShouldResolveIP func() bool + type Vehicle interface + Path func() string + Proxy func() string + Read func() ([]byte, error) + Type func() VehicleType + type VehicleType int + const Compatible + const File + const HTTP + func (v VehicleType) String() string