Documentation
¶
Index ¶
- type Server
- func (s *Server) EnsureVinVc(ctx context.Context, req *grpc.EnsureVinVcRequest) (*grpc.EnsureVinVcResponse, error)
- func (s *Server) GetVinVcLatest(ctx context.Context, req *grpc.GetLatestVinVcRequest) (*grpc.GetLatestVinVcResponse, error)
- func (s *Server) ManualVinVcCreation(ctx context.Context, req *grpc.ManualVinVcCreationRequest) (*grpc.ManualVinVcCreationResponse, error)
- func (s *Server) TestVinVcCreation(ctx context.Context, req *grpc.TestVinVcCreationRequest) (*grpc.TestVinVcCreationResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { grpc.UnimplementedAttestationServiceServer // contains filtered or unexported fields }
Server implements the AttestationServiceServer interface.
func (*Server) EnsureVinVc ¶ added in v0.0.16
func (s *Server) EnsureVinVc(ctx context.Context, req *grpc.EnsureVinVcRequest) (*grpc.EnsureVinVcResponse, error)
EnsureVinVc ensures that a VC exists for the given token ID.
func (*Server) GetVinVcLatest ¶ added in v0.0.16
func (s *Server) GetVinVcLatest(ctx context.Context, req *grpc.GetLatestVinVcRequest) (*grpc.GetLatestVinVcResponse, error)
GetVinVcLatest retrieves the latest VIN VC for the given token ID.
func (*Server) ManualVinVcCreation ¶ added in v0.0.17
func (s *Server) ManualVinVcCreation(ctx context.Context, req *grpc.ManualVinVcCreationRequest) (*grpc.ManualVinVcCreationResponse, error)
ManualVinVcCreation generates a VIN VC for the given token ID.
func (*Server) TestVinVcCreation ¶ added in v0.0.16
func (s *Server) TestVinVcCreation(ctx context.Context, req *grpc.TestVinVcCreationRequest) (*grpc.TestVinVcCreationResponse, error)
TestVinVcCreation generates a VIN VC for the given token ID.
Click to show internal directories.
Click to hide internal directories.