Versions in this module Expand all Collapse all v0 v0.0.2 Dec 9, 2023 v0.0.1 Oct 9, 2023 Changes in this version + var UserAgent = buildUserAgent() + type Account struct + Host string + UserAgent string + func New(oauthToken string) (*Account, error) + func (a *Account) Get(ctx context.Context, endpoint string) ([]byte, error) + func (a *Account) GetVehicle(ctx context.Context, vin string, privateKey authentication.ECDHPrivateKey, ...) (*vehicle.Vehicle, error) + func (a *Account) Post(ctx context.Context, endpoint string, data []byte) ([]byte, error) + func (a *Account) SendVehicleFleetAPICommand(ctx context.Context, vin, endpoint string, command interface{}) ([]byte, error) + func (a *Account) UpdateKey(ctx context.Context, publicKey *ecdh.PublicKey, name string) error