Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 {
Android_ID int64
}
type CheckinRequest ¶ added in v1.1.1
type CheckinRequest struct { Checkin struct{} `json:"checkin"` Version int `json:"version"` }
func NewCheckinRequest ¶ added in v1.1.1
func NewCheckinRequest() CheckinRequest
func (CheckinRequest) Post ¶ added in v1.1.1
func (c CheckinRequest) Post() (*Checkin, error)
type Device ¶ added in v1.0.6
type Device struct { Configuration struct { GlEsVersion int32 `protobuf:"varint,8"` HasFiveWayNavigation bool `protobuf:"varint,6"` HasHardKeyboard bool `protobuf:"varint,5"` Keyboard int32 `protobuf:"varint,2"` NativePlatform []string `protobuf:"bytes,11"` Navigation int32 `protobuf:"varint,3"` ScreenDensity int32 `protobuf:"varint,7"` ScreenLayout int32 `protobuf:"varint,4"` SystemAvailableFeature []string `protobuf:"bytes,10"` TouchScreen int32 `protobuf:"varint,1"` } `protobuf:"bytes,1"` }
Click to show internal directories.
Click to hide internal directories.