Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotFoundError ¶
NotFoundError is an error type for when a device's token is not found.
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
Error returns the error message for a NotFoundError.
func (NotFoundError) Is ¶
func (e NotFoundError) Is(target error) bool
Is checks if the target error is a NotFoundError.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(devicesConn *grpc.ClientConn) *Service
NewService API wrapper to call device-telemetry-api to get the userDevices associated with a userId over grpc
func (*Service) PrimeTokenIDCache ¶
Prime caches the tokenID and subject for a userDevice.
func (*Service) SubjectFromTokenID ¶
SubjectFromTokenID gets the subject from the tokenID for a vehicle NFT
Click to show internal directories.
Click to hide internal directories.