mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-11 05:00:25 +08:00
优化UserAgent解析
This commit is contained in:
11
internal/stats/user_agent_parser_result.go
Normal file
11
internal/stats/user_agent_parser_result.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package stats
|
||||
|
||||
import "github.com/mssola/user_agent"
|
||||
|
||||
type UserAgentParserResult struct {
|
||||
os user_agent.OSInfo
|
||||
browserName string
|
||||
browserVersion string
|
||||
}
|
||||
Reference in New Issue
Block a user