rpc

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 NewServer added in v0.0.16

func NewServer(ctrl vinCtrl, repo vinRepo, vehicleNFTAddr common.Address, chainID int64) *Server

NewServer creates a new instance of the Server.

func (*Server) EnsureVinVc added in v0.0.16

EnsureVinVc ensures that a VC exists for the given token ID.

func (*Server) GetVinVcLatest added in v0.0.16

GetVinVcLatest retrieves the latest VIN VC for the given token ID.

func (*Server) ManualVinVcCreation added in v0.0.17

ManualVinVcCreation generates a VIN VC for the given token ID.

func (*Server) TestVinVcCreation added in v0.0.16

TestVinVcCreation generates a VIN VC for the given token ID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL