Documentation ¶
Index ¶
Constants ¶
View Source
const ApiURI = "https://oneapp.microservice.smart.mercedes-benz.com/seqc/v0"
Variables ¶
View Source
var OAuth2Config = &oauth2.Config{ ClientID: "70d89501-938c-4bec-82d0-6abb550b0825", RedirectURL: "https://oneapp.microservice.smart.mercedes-benz.com", Endpoint: oauth2.Endpoint{ AuthURL: mb.OAuthURI + "/as/authorization.oauth2", TokenURL: mb.OAuthURI + "/as/token.oauth2", }, Scopes: []string{"openid", "profile", "email", "phone", "ciam-uid", "offline_access"}, }
Functions ¶
This section is empty.
Types ¶
type FloatValue ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
type StatusResponse ¶
type StatusResponse struct { PreCond struct { Data struct { ChargingPower FloatValue ChargingActive BoolValue ChargingStatus IntValue } `json:"data"` } Status struct { Data struct { Odo FloatValue RangeElectric FloatValue Soc FloatValue } `json:"data"` } Images []string Error string ErrorDescription string `json:"error_description"` }
Click to show internal directories.
Click to hide internal directories.