urls

package
Version: v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2016 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnObj

type ConnObj struct {
	Lengths []int   `bson:"lengths" json:"lengths"`
	Longest int     `bson:"longest" json:"longest"`
	Src     string  `bson:"src" json:"src"`
	Url     string  `bson:"url" json:"url"`
	Hits    int     `bson:"connection_count" json:"connection_count"`
	TSS     []int64 `bson:"tss" json:"tss"`
}

type DstObj

type DstObj struct {
	Srcs    []string `bson:"srcs" json:"srcs"`
	SrcCt   int      `bson:"source_count" json:"source_count"`
	Lengths [][]int  `bson:"lengths" json:"lengths"`
	Longest []int    `bson:"longest" json:"longest"`
	Url     string   `bson:"url" json:"url"`
	Hits    int      `bson:"connection_count" json:"connection_count"`
}

type Hostname

type Hostname struct {
	Host string   `bson:"host"`
	IPs  []string `bson:"ips"`
}

** Hostname is a mapping from a dns name to ip addresses **

type LenObj

type LenObj struct {
	Length int      `bson:"_id" json:"_id"`
	Src    []string `bson:"src" json:"src"`
	Url    []string `bson:"url" json:"url"`
	Uri    []string `bson:"uri" json:"uri"`
}

** Graphing Structures **

type PartObj

type PartObj struct {
	Url    string                `bson:"url" json:"url"`
	Uri    string                `bson:"uri" json:"uri"`
	Length int                   `bson:"length" json:"length"`
	Conn   datatype_Data.ConnObj `bson:"conn_join" json:"conn_join"`
}

type SrcObj

type SrcObj struct {
	UrlList []string `bson:"urls" json:"urls"`
	UrlCt   int      `bson:"url_count" json:"url_count"`
	Lengths [][]int  `bson:"lengths" json:"lengths"`
	Longest []int    `bson:"longest" json:"longest"`
	Src     string   `bson:"src" json:"src"`
	Hits    int      `bson:"connection_count" json:"connection_count"`
}

type SumObj

type SumObj struct {
	SrcCt    int `bson:"unique_src_count" json:"unique_src_count"`
	DstCt    int `bson:"unique_dst_count" json:"unique_dst_count"`
	LengthCt int `bson:"unique_length_count" json:"unique_length_count"`
	Longest  int `bson:"longest" json:"longest"`
	Hits     int `bson:"connection_count" json:"connection_count"`
}

** TBD Summary Object **

type Url

type Url struct {
	ID     bson.ObjectId `bson:"_id,omitempty"`
	Url    string        `bson:"url"`
	Uri    string        `bson:"uri"`
	IP     string        `bson:"ip"`
	Length int64         `bson:"length"`
	Uid    string        `bson:"uid"`
}

** Collection/Reporting Structure **

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL