Initial commit (code only without large binaries)
This commit is contained in:
14
EdgeNode/internal/stats/user_agent_parser_result.go
Normal file
14
EdgeNode/internal/stats/user_agent_parser_result.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package stats
|
||||
|
||||
import (
|
||||
"github.com/mssola/useragent"
|
||||
)
|
||||
|
||||
type UserAgentParserResult struct {
|
||||
OS useragent.OSInfo
|
||||
BrowserName string
|
||||
BrowserVersion string
|
||||
IsMobile bool
|
||||
}
|
||||
Reference in New Issue
Block a user