Versions in this module Expand all Collapse all v1 v1.0.0 Sep 21, 2024 Changes in this version + var DefaultCDNProviders string + var DefaultCloudProviders string + var DefaultResolvers = []string + var DefaultWafProviders string + type Client struct + func New() *Client + func NewWithOpts(MaxRetries int, resolvers []string) (*Client, error) + func (c *Client) Check(ip net.IP) (matched bool, value string, itemType string, err error) + func (c *Client) CheckCDN(ip net.IP) (matched bool, value string, err error) + func (c *Client) CheckCloud(ip net.IP) (matched bool, value string, err error) + func (c *Client) CheckDNSResponse(dnsResponse *retryabledns.DNSData) (matched bool, value string, itemType string, err error) + func (c *Client) CheckDomainWithFallback(domain string) (matched bool, value string, itemType string, err error) + func (c *Client) CheckSuffix(fqdns ...string) (isCDN bool, provider string, itemType string, err error) + func (c *Client) CheckWAF(ip net.IP) (matched bool, value string, err error) + func (c *Client) CheckWappalyzer(data map[string]struct{}) (isCDN bool, provider string, err error) + type InputCompiled struct + CDN map[string][]string + Cloud map[string][]string + Common map[string][]string + WAF map[string][]string