Documentation ¶
Overview ¶
Package identity provides functionality to interact with the identity GraphQL API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service interacts with the identity GraphQL API.
func NewService ¶
func NewService(apiBaseURL string, aftermarketAddr, SyntheticAddr string, certPool *x509.CertPool) (*Service, error)
NewService creates a new instance of Service with optional TLS certificate pool.
func (*Service) GetVehicleInfo ¶
func (s *Service) GetVehicleInfo(ctx context.Context, vehicleDID cloudevent.NFTDID) (*models.VehicleInfo, error)
GetVehicleInfo fetches vehicle information from the identity API.
Click to show internal directories.
Click to hide internal directories.