Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { AccessToken string `json:"access_token"` DeviceID string `json:"device_id"` DeviceSecret string `json:"device_secret"` }
Auth ...
type Lock ¶
type Lock struct { FuelType string `json:"fuel_type"` CentsPerLitre float64 `json:"cents_per_litre"` HasRedeemed bool `json:"has_redeemed"` // TotalLitres float64 `json:"total_litres"` Expires time.Time `json:"expires"` }
Lock ...
type LockPayload ¶
type LockPayload struct { Longitude float64 `json:"longitude"` Latitude float64 `json:"latitude"` AccessToken string `json:"access_token"` DeviceID string `json:"device_id"` DeviceSecret string `json:"device_secret"` FuelType string `json:"fuel_type"` AccountID string `json:"account_id"` }
LockPayload ...
Click to show internal directories.
Click to hide internal directories.