Documentation
¶
Index ¶
- func CloseIPGeoLocation()
- func ExtractIPRegionDB() (string, error)
- func GetIPLocation(ip string) (string, string, error)
- func InitIPGeoLocation() error
- func InitPVFilters()
- func ParseUserAgent(uaString string) (browser, os, device string)
- func ShouldCountAsPageView(statusCode int, path string, ip string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractIPRegionDB ¶
ExtractIPRegionDB 从嵌入的文件系统中提取 IP2Region 数据库
func GetIPLocation ¶
GetIPLocation 获取 IP 的地理位置信息
func ParseUserAgent ¶
ParseUserAgent 解析 User-Agent 字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.