netlas

package
v2.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package netlas logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainsCountResponse

type DomainsCountResponse struct {
	Count int `json:"count"`
}

type Item

type Item struct {
	Data struct {
		A           []string `json:"a,omitempty"`
		Txt         []string `json:"txt,omitempty"`
		LastUpdated string   `json:"last_updated,omitempty"`
		Timestamp   string   `json:"@timestamp,omitempty"`
		Ns          []string `json:"ns,omitempty"`
		Level       int      `json:"level,omitempty"`
		Zone        string   `json:"zone,omitempty"`
		Domain      string   `json:"domain,omitempty"`
		Cname       []string `json:"cname,omitempty"`
		Mx          []string `json:"mx,omitempty"`
	} `json:"data"`
}

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source is the passive scraping agent

func (*Source) AddApiKeys

func (s *Source) AddApiKeys(keys []string)

func (*Source) HasRecursiveSupport

func (s *Source) HasRecursiveSupport() bool

func (*Source) IsDefault

func (s *Source) IsDefault() bool

func (*Source) Name

func (s *Source) Name() string

Name returns the name of the source

func (*Source) NeedsKey

func (s *Source) NeedsKey() bool

func (*Source) Run

func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Session) <-chan subscraping.Result

func (*Source) Statistics

func (s *Source) Statistics() subscraping.Statistics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL