Documentation
¶
Index ¶
Constants ¶
View Source
const ( SERVER_FILE_GAME1_FILE = "https://gameforge.com/tra/game1.js" VECTOR_CONTENT_LENGTH = 100 UUID_LENGTH = 27 )
Variables ¶
This section is empty.
Functions ¶
func CreateVector ¶
func GenerateUuid ¶
func GenerateUuid() string
func GenerateVector ¶
func GenerateVector() string
func GetServerDate ¶
func UnpackVector ¶
func UpdateVector ¶
func UpdateVector(vector *string)
Types ¶
type Blackbox ¶
type Blackbox string
func New ¶
func New(fingerprint *Fingerprint) (Blackbox, error)
type Fingerprint ¶
type Fingerprint struct { V float64 `json:"v"` Tz string `json:"tz"` Dnt bool `json:"dnt"` Product string `json:"product"` OsType string `json:"osType"` App string `json:"app"` Vendor string `json:"vendor"` Mem float64 `json:"mem"` Con float64 `json:"con"` Lang string `json:"lang"` Plugins string `json:"plugins"` Gpu string `json:"gpu"` Fonts string `json:"fonts"` AudioC string `json:"audioC"` Width float64 `json:"width"` Height float64 `json:"height"` Depth float64 `json:"depth"` Video string `json:"video"` Audio string `json:"audio"` Media string `json:"media"` Permissions string `json:"permissions"` AudioFP float64 `json:"audioFP"` WebglFP string `json:"webglFP"` CanvasFP float64 `json:"canvasFP"` Creation string `json:"creation"` Uuid string `json:"uuid"` D float64 `json:"d"` OsVersion string `json:"osVersion"` Vector string `json:"vector"` UserAgent string `json:"userAgent"` ServerTimeInMS string `json:"serverTimeInMS"` Request *Request `json:"request"` }
Click to show internal directories.
Click to hide internal directories.