Documentation ¶
Index ¶
Constants ¶
View Source
const GA_TRACK_ID = "UA-42629236-12"
Variables ¶
This section is empty.
Functions ¶
func GetDeviceID ¶
GetDeviceID returns the current machine's device ID
Types ¶
type ClientType ¶
type ClientType struct { ID string `json:"id"` Platform string `json:"platform"` AppVersion string `json:"app_version"` AppChannel string `json:"app_channel"` Distribution string `json:"distribution"` }
ClientType is collect payload's client field type
var Client ClientType
Client is current user's client info
Click to show internal directories.
Click to hide internal directories.