package
1.0.3
Repository: https://github.com/optimatiq/threatbite.git
Documentation: pkg.go.dev

# Functions

NewDomain returns a new domain list build on top of map.
NewEmptyDataSource returns empty data source.
NewListDataSource first argument is a list of domains.
NewURLDataSource returns iterator, which downloads lists from provided URLs and extract addresses.

# Variables

ErrInvalidData source is available or data provided in the source were not valid IPv4, IPv6 or CIDR.
ErrNoData no more date in iterator, means that we finished iterating.

# Structs

No description provided by the author
EmptyDataSource as the name suggest, this data source contains no data.
ListDataSource stores current state (counters) of this source.
URLDataSource stores current state (counters, URLs, scanners) of this source.

# Interfaces

DataSource defines method for accessing stream of addresses.