verifyproto

package
v2.19.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_verify_verifyproto_verify_proto protoreflect.FileDescriptor

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	GetAttestation(ctx context.Context, in *GetAttestationRequest, opts ...grpc.CallOption) (*GetAttestationResponse, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc grpc.ClientConnInterface) APIClient

type APIServer

type APIServer interface {
	GetAttestation(context.Context, *GetAttestationRequest) (*GetAttestationResponse, error)
}

APIServer is the server API for API service.

type GetAttestationRequest

type GetAttestationRequest struct {
	Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttestationRequest) Descriptor deprecated

func (*GetAttestationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAttestationRequest.ProtoReflect.Descriptor instead.

func (*GetAttestationRequest) GetNonce

func (x *GetAttestationRequest) GetNonce() []byte

func (*GetAttestationRequest) ProtoMessage

func (*GetAttestationRequest) ProtoMessage()

func (*GetAttestationRequest) ProtoReflect

func (x *GetAttestationRequest) ProtoReflect() protoreflect.Message

func (*GetAttestationRequest) Reset

func (x *GetAttestationRequest) Reset()

func (*GetAttestationRequest) String

func (x *GetAttestationRequest) String() string

type GetAttestationResponse

type GetAttestationResponse struct {
	Attestation []byte `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttestationResponse) Descriptor deprecated

func (*GetAttestationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAttestationResponse.ProtoReflect.Descriptor instead.

func (*GetAttestationResponse) GetAttestation

func (x *GetAttestationResponse) GetAttestation() []byte

func (*GetAttestationResponse) ProtoMessage

func (*GetAttestationResponse) ProtoMessage()

func (*GetAttestationResponse) ProtoReflect

func (x *GetAttestationResponse) ProtoReflect() protoreflect.Message

func (*GetAttestationResponse) Reset

func (x *GetAttestationResponse) Reset()

func (*GetAttestationResponse) String

func (x *GetAttestationResponse) String() string

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) GetAttestation

Jump to

Keyboard shortcuts

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