Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisView ¶
type AnalysisView struct { Host string `bson:"host"` Connections int `bson:"conn_count"` UniqueConnections int `bson:"uconn_count"` TotalBytes int `bson:"total_bytes"` ConnectedHosts []string `bson:"ips,omitempty"` }
AnalysisView (for reporting)
type Input ¶
type Input struct { ResolvedIPs []string //Resolved IPs associated with a given hostname ClientIPs []string //DNS Client IPs which issued queries for a given hostname }
Input ....
type Repository ¶
Repository for hostnames collection
func NewMongoRepository ¶
func NewMongoRepository(res *resources.Resources) Repository
NewMongoRepository create new repository
Click to show internal directories.
Click to hide internal directories.