mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-29 20:00:24 +08:00
更新UserAgent分析库
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
package stats
|
||||
|
||||
import "github.com/mssola/user_agent"
|
||||
import (
|
||||
"github.com/mssola/useragent"
|
||||
)
|
||||
|
||||
type UserAgentParserResult struct {
|
||||
OS user_agent.OSInfo
|
||||
OS useragent.OSInfo
|
||||
BrowserName string
|
||||
BrowserVersion string
|
||||
IsMobile bool
|
||||
|
||||
Reference in New Issue
Block a user