Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterEducationVerifierServiceServer(s grpc.ServiceRegistrar, srv EducationVerifierServiceServer)
- type EducationVerifierServiceClient
- type EducationVerifierServiceServer
- type UnimplementedEducationVerifierServiceServer
- type UnsafeEducationVerifierServiceServer
- type VerifyRequest
- func (*VerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRequest) GetCountry() string
- func (x *VerifyRequest) GetDiplomaNumber() string
- func (x *VerifyRequest) GetDiplomaSeries() string
- func (x *VerifyRequest) GetFirstName() string
- func (x *VerifyRequest) GetLastName() string
- func (x *VerifyRequest) GetMiddleName() string
- func (*VerifyRequest) ProtoMessage()
- func (x *VerifyRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyRequest) Reset()
- func (x *VerifyRequest) String() string
- type VerifyResponse
- func (*VerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyResponse) GetCode() string
- func (x *VerifyResponse) GetIsValid() bool
- func (x *VerifyResponse) GetLink() string
- func (x *VerifyResponse) GetScience() string
- func (x *VerifyResponse) GetType() string
- func (*VerifyResponse) ProtoMessage()
- func (x *VerifyResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyResponse) Reset()
- func (x *VerifyResponse) String() string
Constants ¶
const (
EducationVerifierService_Verify_FullMethodName = "/pp.education.EducationVerifierService/Verify"
)
Variables ¶
var EducationVerifierService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pp.education.EducationVerifierService", HandlerType: (*EducationVerifierServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Verify", Handler: _EducationVerifierService_Verify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "education-verifier-srv/education_verifier.proto", }
EducationVerifierService_ServiceDesc is the grpc.ServiceDesc for EducationVerifierService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_education_verifier_srv_education_verifier_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEducationVerifierServiceServer ¶
func RegisterEducationVerifierServiceServer(s grpc.ServiceRegistrar, srv EducationVerifierServiceServer)
Types ¶
type EducationVerifierServiceClient ¶
type EducationVerifierServiceClient interface {
Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
}
EducationVerifierServiceClient is the client API for EducationVerifierService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEducationVerifierServiceClient ¶
func NewEducationVerifierServiceClient(cc grpc.ClientConnInterface) EducationVerifierServiceClient
type EducationVerifierServiceServer ¶
type EducationVerifierServiceServer interface { Verify(context.Context, *VerifyRequest) (*VerifyResponse, error) // contains filtered or unexported methods }
EducationVerifierServiceServer is the server API for EducationVerifierService service. All implementations must embed UnimplementedEducationVerifierServiceServer for forward compatibility
type UnimplementedEducationVerifierServiceServer ¶
type UnimplementedEducationVerifierServiceServer struct { }
UnimplementedEducationVerifierServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedEducationVerifierServiceServer) Verify ¶
func (UnimplementedEducationVerifierServiceServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
type UnsafeEducationVerifierServiceServer ¶
type UnsafeEducationVerifierServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEducationVerifierServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EducationVerifierServiceServer will result in compilation errors.
type VerifyRequest ¶
type VerifyRequest struct { LastName string `protobuf:"bytes,1,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` MiddleName string `protobuf:"bytes,3,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"` DiplomaSeries string `protobuf:"bytes,4,opt,name=diploma_series,json=diplomaSeries,proto3" json:"diploma_series,omitempty"` DiplomaNumber string `protobuf:"bytes,5,opt,name=diploma_number,json=diplomaNumber,proto3" json:"diploma_number,omitempty"` Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*VerifyRequest) Descriptor
deprecated
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) GetCountry ¶
func (x *VerifyRequest) GetCountry() string
func (*VerifyRequest) GetDiplomaNumber ¶
func (x *VerifyRequest) GetDiplomaNumber() string
func (*VerifyRequest) GetDiplomaSeries ¶
func (x *VerifyRequest) GetDiplomaSeries() string
func (*VerifyRequest) GetFirstName ¶
func (x *VerifyRequest) GetFirstName() string
func (*VerifyRequest) GetLastName ¶
func (x *VerifyRequest) GetLastName() string
func (*VerifyRequest) GetMiddleName ¶
func (x *VerifyRequest) GetMiddleName() string
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (x *VerifyRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequest) Reset ¶
func (x *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (x *VerifyRequest) String() string
type VerifyResponse ¶
type VerifyResponse struct { IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Science string `protobuf:"bytes,3,opt,name=science,proto3" json:"science,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*VerifyResponse) Descriptor
deprecated
func (*VerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.
func (*VerifyResponse) GetCode ¶
func (x *VerifyResponse) GetCode() string
func (*VerifyResponse) GetIsValid ¶
func (x *VerifyResponse) GetIsValid() bool
func (*VerifyResponse) GetLink ¶
func (x *VerifyResponse) GetLink() string
func (*VerifyResponse) GetScience ¶
func (x *VerifyResponse) GetScience() string
func (*VerifyResponse) GetType ¶
func (x *VerifyResponse) GetType() string
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) ProtoReflect ¶
func (x *VerifyResponse) ProtoReflect() protoreflect.Message
func (*VerifyResponse) Reset ¶
func (x *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (x *VerifyResponse) String() string