Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentAgentObj ¶
type AgentAgentObj struct {
Agent string `bson:"_id" json:"_id"`
Srcs []AgentConnObj `bson:"srcs" json:"srcs"`
SrcCt int `bson:"unique_source_count" json:"unique_source_count"`
Hits int `bson:"total_connection_count" json:"total_connection_count"`
//total destinations acessed while this agent was being used
DstCt int `bson:"total_unique_dsts_count" json:"total_unique_dsts_count"`
}
type AgentConnObj ¶
type AgentConnObj struct {
Dsts []string `bson:"dsts" json:"dsts"`
//destinations accessed by source while using user agent
TSS []int64 `bson:"tss" json:"tss"`
DstCt int `bson:"unique_dst_count" json:"unique_dst_count"`
Agent string `bson:"user_agent" json:"user_agent"`
Src string `bson:"src" json:"src"`
Hits int `bson:"connection_count" json:"connection_count"`
}
** Graphing Structures **
type AgentSrcObj ¶
type AgentSrcObj struct {
Src string `bson:"_id" json:"_id"`
Agents []AgentConnObj `bson:"user_agents" json:"user_agents"`
AgentCt int `bson:"unique_agent_count" json:"unique_agent_count"`
Hits int `bson:"total_connection_count" json:"total_connection_count"`
//total destinations this source reached
DstCt int `bson:"total_unique_dst_count" json:"total_unique_dst_count"`
}
type AgentSumObj ¶
type AgentSumObj struct {
SrcCt int `bson:"unique_src_count" json:"srcCt"`
DstCt int `bson:"unique_dst_count" json:"dstCt"`
ConnCt int `bson:"unique_connection_count" json:"connCt"`
AgentCt int `bson:"unique_agent_count" json:"agentCt"`
Hits int `bson:"connection_count" json:"hits"`
TopSrc string `bson:"most_used_src" json:"topSrc"`
TopAgent string `bson:"most_used_agent" json:"topAgent"`
BotAgent string `bson:"least_used_agent" json:"botAgent"`
TopConn string `bson:"most_used_conn" json:"topConn"`
}
Click to show internal directories.
Click to hide internal directories.