Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type GetAttestationRequest
- func (*GetAttestationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttestationRequest) GetNonce() []byte
- func (*GetAttestationRequest) ProtoMessage()
- func (x *GetAttestationRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttestationRequest) Reset()
- func (x *GetAttestationRequest) String() string
- type GetAttestationResponse
- func (*GetAttestationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttestationResponse) GetAttestation() []byte
- func (*GetAttestationResponse) ProtoMessage()
- func (x *GetAttestationResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttestationResponse) Reset()
- func (x *GetAttestationResponse) String() string
- type UnimplementedAPIServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_verify_verifyproto_verify_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServer ¶
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 ¶
func (*UnimplementedAPIServer) GetAttestation(context.Context, *GetAttestationRequest) (*GetAttestationResponse, error)
Click to show internal directories.
Click to hide internal directories.