Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
ID bson.ObjectId `bson:"_id,omitempty" json:"_id,omitempty"`
Con string `bson:"con" json:"con"`
Host string `bson:"host" json:"host"`
Dst string `bson:"dst" json:"dst"`
Mods string `bson:"mods" json:"mods"`
MHits int `bson:"mHits" json:"mHits"`
HitCt int `bson:"hitCt" json:"hitCt"`
ModCt int `bson:"modCt" json:"modCt"`
}
A complete admin object mirroring database record for all Connections
type UniqueConnection ¶
type UniqueConnection struct {
ID bson.ObjectId `bson:"_id,omitempty"`
ConnectionCount int `bson:"connection_count"`
Src string `bson:"src"`
Dst string `bson:"dst"`
LocalSrc bool `bson:"local_src"`
LocalDst bool `bson:"local_dst"`
TotalBytes int `bson:"total_bytes"`
AverageBytes float32 `bson:"average_bytes"`
TotalDuration float32 `bson:"total_duration"`
}
Click to show internal directories.
Click to hide internal directories.