Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BrowserList = NewBrowsers()
Functions ¶
This section is empty.
Types ¶
type Browers ¶
type Browers struct { Spider map[string][]string Mobile map[string][]string PC map[string][]string Other map[string][]string }
func NewBrowsers ¶
func NewBrowsers() *Browers
type Counter ¶
type Counter struct { Views map[string]uint64 //每个网址的浏览器 Elapsed map[string]float64 //每个网址的总耗时(秒) MaxElapsed map[string]float64 //每个网址的最大耗时(秒) BodyBytes map[string]uint64 //每个网址的总字节数 IPs map[string]uint64 //每个网址的每分钟的IP数量 UserAgents map[string][]int64 StatusCodes map[string][]int64 //200/301/302/400/403/404/499/500/502/503/504 StatusCode map[int]uint64 //状态码次数 Browsers map[string]uint64 //浏览器访问次数 }
Click to show internal directories.
Click to hide internal directories.