netlas

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

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 DomainsResponse

type DomainsResponse struct {
	Items []Item `json:"items"`
	Took  int    `json:"took"`
}

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
}

func (*Source) AddApiKeys

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

func (*Source) DiscoveryType

func (s *Source) DiscoveryType() source.DiscoveryType

func (*Source) IsDefault

func (s *Source) IsDefault() bool

func (*Source) Name

func (s *Source) Name() string

func (*Source) NeedsKey

func (s *Source) NeedsKey() bool

func (*Source) Run

func (s *Source) Run(ctx context.Context, query string, sess *session.Session) <-chan source.Result

func (*Source) Statistics

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

func (*Source) SupportedDiscoveryModes

func (s *Source) SupportedDiscoveryModes() []source.DiscoveryMode

TODO: add support for TLD; search for Paypal domains in every TLDs: domain:paypal.* level:2

Jump to

Keyboard shortcuts

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