mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-12 17:12:27 +08:00
系统架构层面流量控制功能完善
This commit is contained in:
24
dispatch/model/client_log.go
Normal file
24
dispatch/model/client_log.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type ClientLog struct {
|
||||
ID primitive.ObjectID `json:"-" bson:"_id,omitempty"`
|
||||
Auid string `json:"auid" bson:"auid"`
|
||||
ClientIp string `json:"clientIp" bson:"clientIp"`
|
||||
CpuInfo string `json:"cpuInfo" bson:"cpuInfo"`
|
||||
DeviceModel string `json:"deviceModel" bson:"deviceModel"`
|
||||
DeviceName string `json:"deviceName" bson:"deviceName"`
|
||||
GpuInfo string `json:"gpuInfo" bson:"gpuInfo"`
|
||||
Guid string `json:"guid" bson:"guid"`
|
||||
LogStr string `json:"logStr" bson:"logStr"`
|
||||
LogType string `json:"logType" bson:"logType"`
|
||||
OperatingSystem string `json:"operatingSystem" bson:"operatingSystem"`
|
||||
StackTrace string `json:"stackTrace" bson:"stackTrace"`
|
||||
Time string `json:"time" bson:"time"`
|
||||
Uid uint64 `json:"uid" bson:"uid"`
|
||||
UserName string `json:"userName" bson:"userName"`
|
||||
Version string `json:"version" bson:"version"`
|
||||
}
|
||||
Reference in New Issue
Block a user