Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisView ¶
type AnalysisView struct { Domain string `bson:"domain"` SubdomainCount int64 `bson:"subdomain_count"` Visited int64 `bson:"visited"` }
AnalysisView (for reporting)
type Repository ¶
type Repository interface { CreateIndexes() error // Upsert(explodedDNS *parsetypes.ExplodedDNS) error Upsert(domainMap map[string]int) }
Repository for explodedDNS collection
func NewMongoRepository ¶
func NewMongoRepository(res *resources.Resources) Repository
NewMongoRepository create new repository
Click to show internal directories.
Click to hide internal directories.