Documentation ¶
Index ¶
Constants ¶
View Source
const (
Sleep = 16 * time.Second
)
Variables ¶
View Source
var DefaultCheckin = Checkin{Version: 3}
View Source
var DefaultConfig = Object{ 1: Object{ 1: uint64(1), 2: uint64(1), 3: uint64(1), 4: uint64(1), 5: true, 6: true, 7: uint64(1), 8: uint64(0x0009_0000), 10: Array{ "android.hardware.camera", "android.hardware.faketouch", "android.hardware.location", "android.hardware.screen.portrait", "android.hardware.touchscreen", "android.hardware.wifi", }, 11: Array{ "armeabi-v7a", }, }, }
Functions ¶
This section is empty.
Types ¶
type Auth ¶ added in v1.0.4
func (Auth) Upload ¶ added in v1.1.3
This seems to return `StatusOK`, even with invalid requests, and the response body only contains a token, that doesnt seem to indicate success or failure. Only way I know to check, it to try the `deviceID` with a `details` request or similar. Also, after the POST, you need to wait at least 16 seconds before the `deviceID` can be used.
type Checkin ¶ added in v1.0.6
type Checkin struct { Checkin struct{} `json:"checkin"` Version int `json:"version"` }
type Device ¶ added in v1.0.6
type Device struct {
Android_ID int64
}
Click to show internal directories.
Click to hide internal directories.