Documentation ¶
Index ¶
Constants ¶
View Source
const ( CHARGE_START = "start-charging" CHARGE_STOP = "stop-charging" DOOR_LOCK = "door-lock" LIGHT_FLASH = "light-flash" REMOTE_SERVICE_BASE_URL = "eadrax-vrccs/v3/presentation/remote-commands" VEHICLE_CHARGING_BASE_URL = "eadrax-crccs/v1/vehicles" )
View Source
const (
RedirectURI = "com.bmw.connected://oauth"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an api.Vehicle implementation for BMW cars
type Authenticate ¶
type Authenticate struct {
ClientID, State string
}
type Identity ¶
func NewIdentity ¶
NewIdentity creates BMW identity
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements the vehicle api
func NewProvider ¶
NewProvider creates a vehicle api provider
func (*Provider) ChargeEnable ¶
ChargeEnable implements the api.ChargeController interface
type Region ¶
type Region struct {
AuthURI, CocoApiURI string
Token
Authenticate
}
Click to show internal directories.
Click to hide internal directories.