feat: device info type
This commit is contained in:
12
internal/types/device.go
Normal file
12
internal/types/device.go
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package types
|
||||||
|
|
||||||
|
type DeviceInfo struct {
|
||||||
|
DeviceType string `json:"device_type"`
|
||||||
|
OS string `json:"os"`
|
||||||
|
OSVersion string `json:"os_version"`
|
||||||
|
Browser string `json:"browser"`
|
||||||
|
BrowserVersion string `json:"browser_version"`
|
||||||
|
DeviceName string `json:"device_name"`
|
||||||
|
UserAgent string `json:"user_agent"`
|
||||||
|
Location string `json:"location"`
|
||||||
|
}
|
Reference in New Issue
Block a user